Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Star
8068 Points
1023 Posts
Microsoft
Mar 06, 2012 01:07 AM|LINK
Hi
You can compile all the class to dll without Visual studio.
In this folder:
C:\Windows\Microsoft.NET\Framework
You can find all the .net framework version. include v3.5.(if you installed vs2010 it will have )
Use CMD.exe to excute
MSBuild+ your project file.
Example:
C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild D:\VSProject\ASP.NET\ClassLibrary1\ClassLibrary1.vbproj
(You can use notepad open the .csproj file and change all 4.0 to 3.5)
Also if only one class you can use C:\Windows\Microsoft.NET\Framework\v3.5\vbc.exe D:\....class path....
If you don't have v3.5 folder you can install a .NET 3.5 framework.
Dino He - MS...
Star
8068 Points
1023 Posts
Microsoft
Re: VS Command Prompt compiler options
Mar 06, 2012 01:07 AM|LINK
Hi
You can compile all the class to dll without Visual studio.
In this folder:
C:\Windows\Microsoft.NET\Framework
You can find all the .net framework version. include v3.5.(if you installed vs2010 it will have )
Use CMD.exe to excute
MSBuild+ your project file.
Example:
C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild D:\VSProject\ASP.NET\ClassLibrary1\ClassLibrary1.vbproj
(You can use notepad open the .csproj file and change all 4.0 to 3.5)
Also if only one class you can use C:\Windows\Microsoft.NET\Framework\v3.5\vbc.exe D:\....class path....
If you don't have v3.5 folder you can install a .NET 3.5 framework.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework