Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by peterc1 · Oct 28, 2015 at 12:55 PM · windows store

cannot builb for any windows phone

Am getting error Reference rewriter: Error: method System.Void ystem.ComponentModel.DesignerCategoryAttribute::.ctor(System.String) doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at AIBservice. UnityEngine.Debug:LogError(Object) PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:558) PostProcessWinRT:Process() (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:118) UnityEditor.PostprocessBuildPlayer:Postprocess(BuildTarget, String, String, String, Int32, Int32, String, String, BuildOptions, RuntimeClassRegistry)

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image peterc1 · Nov 03, 2015 at 05:25 PM 0
Share

Any one ?

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Bunny83 · Nov 03, 2015 at 06:55 PM

Well, the error is quite clear about the error. It looks like you have a class that is called "AIBservice" which has an "DesignerCategory" attribute. That attribute seems to be not supported.

I don't have a windows phone and never developed for one so i'm just guessing here. That attribute is usually used by the form designer of Visual Studio. Do you have created or imported any Form components in your project? What is that AIBservice ?

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image peterc1 · Nov 04, 2015 at 06:44 AM 0
Share

Thanks Bunny83 a million times for taking time to assist. The AIBservice is a .cs class created using WSDL utility in the unity folder encapsulating the web service service . The build works well for other platforms except any windows platform.

avatar image allenallenallen peterc1 · Nov 04, 2015 at 06:45 AM 1
Share

@peterc1, remember to use comments!!!! Don't post as an answer when you don't have one!

avatar image Bunny83 peterc1 · Nov 04, 2015 at 02:40 PM 0
Share

Do you mean it doesn't work when you build for windows phone or even when you build for windows standalone?

Usually unity uses mono as scripting environment, however I've read that when you build for windows phone they actually use the .Net framework that is already part of the OS . That's why certain things doesn't work.

You can try to remove those attributes from those classes as they most likely are not required anyways. They seem to be used by the designer to group components.

avatar image peterc1 · Nov 05, 2015 at 06:50 AM 0
Share

Thanks Bunny83. It has finally worked after removing the attributes.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

StreamReader Constructor (Stream) 0 Answers

My Unity App failed to pass the Windows Store test 0 Answers

Windows Store (WP 8.1) errors while building 0 Answers

Thread issue with Universal Windows Platform 0 Answers

Switching between Windows Store XAML GUI and Unity game 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges