Which winform project files should be packed up into the installer

Overall: I like Tom Blodget’s advice here to find dependencies and runtimes. Below are some detailed, technical options to determine what is going on with problem applications. Assembled in a hurry. Clean Virtual: And obviously take Lex Li’s advice (above comment to your question) to set up your application manually on a clean virtual for … Read more

How do I diagnose and fix a Visual Studio (for example 2015, 2017) crash?

To diag Visual Studio crashes, you need to generate a crash dump, which includes the current state of Visual Studio. To generate such a crash dump, you can configure Windows Error Reporting to generate dumps by running regedit.exe, go to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps\devenv.exe create a string DumpFolder and give it a name like C:\localdumps and … Read more

Set content files to “copy local : always” in a nuget package

Instead of using a PowerShell script another approach is to use an MSBuild targets or props file with the same name as the package id: <Project xmlns=”http://schemas.microsoft.com/developer/msbuild/2003″> <ItemGroup> <None Include=”$(MSBuildThisFileDirectory)importantfile.xml”> <Link>importantfile.xml</Link> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </None> </ItemGroup> </Project> In the nuspec file then, instead of adding the required files to the Content directory, add them to the Build … Read more

Configure IIS Express for external access to VS2010 project

1 After editing applicationhost.config file (located in the IISExpress folder in your documents), your site bindings should look like below: <bindings> <binding protocol=”http” bindingInformation=”*:8080:*” /> </bindings> Bindings consist of three parts. Firstly an IP address or list, or as in this case, a wildcard. Secondly the port number, and thirdly a hostname, or list, or … Read more

How can I rename a project folder from within Visual Studio?

TFS users: If you are using source control that requires you to warn it before your rename files/folders then look at this answer instead which covers the extra steps required. To rename a project’s folder, file (.*proj) and display name in Visual Studio: Close the solution. Rename the folder(s) outside Visual Studio. (Rename in TFS … Read more

Visual Studio 64 bit?

For numerous reasons, No. Why is explained in this MSDN post. First, from a performance perspective the pointers get larger, so data structures get larger, and the processor cache stays the same size. That basically results in a raw speed hit (your mileage may vary). So you start in a hole and you have to … Read more