• 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 numberkruncher · Jul 04, 2012 at 12:12 AM · editormonodevelopvisual studiodllclass library

How to compile Class Library using Visual Studio

I am working on an editor extension class library (DLL) and I have been using MonoDevelop. Except the MonoDevelop IDE crashes all of the time when editing source code. One second your typing, then all of the following text becomes corrupt and then it throws you out.

Yesterday MonoDevelop crashed for the last time, I am fed up with having to redo coding every time it crashes (2-3 times a day).

So I installed Visual Studio C# 2010 Express Edition and loaded my class library solution into there. The editor is fantastic (I had forgotten how good it was) from my years of VS2003.

When compiled my class library causes Unity to crash immediately. If I compile the same solution using MonoDevelop it works just fine. Is there a setting that I need to change from within Visual Studio or do I have to keep flicking between VS and MonoDevelop to compile?

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 numberkruncher · Jul 07, 2012 at 02:24 PM 0
Share

Okay, I have switched project settings from ".NET 4" to ".NET 3.5 Client Profile" and it appears to be working. This is much better during development but I shall probably still use $$anonymous$$onoDevelop for final builds... or should I be fine with ".NET 3.5"?

1 Reply

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

Answer by numberkruncher · Jul 07, 2012 at 07:44 PM

The following forum post seems to answer this question:

http://forum.unity3d.com/threads/120327-Video-Tutorial-How-to-use-Visual-Studio-for-all-your-Unity-development?p=976343#post976343

Comment
Add comment · 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

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Assembly-CSharp as Default Class Library for Scripts? 1 Answer

Difference between differrent csproj files (there are 3) in a unity editor (rider) 1 Answer

Use VS Code and MonoDevelop on the same project with multiple programmers 1 Answer

Double clicking scene asset opens the asset file in visual studio 5 Answers

Equality and Inequality operators not found in DLL ??? 1 Answer


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