Jump to content

Succesfully built and run solution using C# Express Editions


Recommended Posts

Hey guys,

Assuming anyone installs VC++ and C# express editions.

This is how to build the app. (Paint.NET 3.0 source code)

1) Just double click on the src\paintdotnet.sln

The express edition asks whether to open using C# or C++

2) Choose C++, u will get error messages saying that C# and VsSetup projects cant be loaded...just say OK

3) Now we will have only C++ projects.

Just Rebuild All...everything builds fine

4) Again double click on the src\paintdotnet.sln

The express edition asks whether to open using C# or C++

5) Choose C#, u will get error messages saying that C++ and VsSetup projects cant be loaded...just say OK

6) Place MT.exe and SignTool.exe in the src folder

7) In the solution which has C# projects, right click on the paintdotnet project and say and Properties...go to the Debug tab and type '/skipRepairAttempt' as the command line argument,

8) Just Rebuild all and this time all the C# projects should get built

9) Go to src\bin\Debug and u should have the 'PaintDotNet.exe'

This approach wont build the Setup projects.

I could also run the app in DEBUG mode!

Just provide the command line parameter and start the App

Example!

D:\Kamlesh\MicrosoftPaint.NETSource\src\bin\Debug\paintdotnet.exe /skipRepairAttempt

Cheers to Microsoft and Rick Brewster!

Sorry for the last post!

Link to comment
Share on other sites

In a post where you are typing out paths, I recommend using the foward slash, "/". Otherwise phpBB seems to be eating the backslash in the pathnames making them very hard to read.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...