Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
47 views

I'm developing a VSTO add-in for Microsoft Word and packaging it using a .msi installer (Visual Studio Installer Project). Before proceeding with the installation, I want to ensure that Word (winword....
Ankur Gupta's user avatar
0 votes
1 answer
133 views

I have a few C# (*.cs) files in my project that need to be included in compilation as well as distributed as source code along with the application (the application itself is not open-source). ...
Raheel Khan's user avatar
  • 14.8k
0 votes
0 answers
397 views

I am trying to include a large file in my project but it doesn't let me. If set the Build Action to "MauiAsset" I get the following error: "APT2000 filemap E 08-18 15:25:19 23420 8832 ...
Jeffrey van Dijk's user avatar
3 votes
2 answers
486 views

I have a solution with a few projects: library.dll with something.json webapp.dll winapp.exe 2 and 3 depend on 1, not on eachother. I would like copy something.json to the bin directory of winapp....
online Thomas's user avatar
0 votes
1 answer
168 views

I want to use a web deploy to publish my ASP.Net Web API project along with Angular app. Angular app build is running in pre-build action, I'm using CustommCollectFiles to include \dist folder in ...
Andrey's user avatar
  • 85
1 vote
2 answers
214 views

Consider these two software: MyGame.exe and SocketTest.exe. MyGame.exe doesn't depend on any files to run but SocketTest.exe is an actual software. It can only run if one or more of four other files ...
Stoverflow's user avatar
0 votes
1 answer
1k views

I have a .dll with a lot of ResourceDictionaries. The build action of all these ResourceDictionaries is set to "Page". Inside the Dll, I want to find all these ResourceDictionaries and iterate over ...
Michael's user avatar
  • 1,030
0 votes
0 answers
704 views

I have some files setup to copy to the output directory on build. When I do a build the files are copied as expected. If I check the build log I can see the file being moves from the specific project ...
Josh's user avatar
  • 1,650
0 votes
1 answer
3k views

I get this warning in a C# project: Assembly 'bin\DAL05.dll' is incorrectly specified as a file. The project does reference DAL05, which has these values: Description = "Data Access Layer for VS2005"...
B. Clay Shannon-B. Crow Raven's user avatar
5 votes
1 answer
1k views

I've added the following code to my .csproj in order to minify the JS files that have changed when building the project: <Target Name="BeforeBuild"> <MSBuild Targets="CheckAndMinifyJS" ...
Gyum Fox's user avatar
  • 3,747
3 votes
2 answers
2k views

I want to load a PDF file in response to a Tapped event. I added the file to my project (Add > Existing Item), set "Build Action" to "Content" and "Copy to Output Directory" to "Copy if newer" I'm ...
B. Clay Shannon-B. Crow Raven's user avatar
48 votes
4 answers
44k views

What does the Content Build Action in Visual Studio do? It does not look like it's doing anything. The File Properties article on MSDN (does not exist anymore) says: Content - The file is not ...
Martin Prikryl's user avatar
2 votes
2 answers
9k views

I have setup a Console, Library, and Service project. The Library project loads up files in a folder and stores the text in variables. The console project will then manipulate those variables. I am ...
Steven Combs's user avatar
  • 1,940
4 votes
1 answer
619 views

I am using Visual Studio 2012 to create a class library project that will also include a number of TypeScript (.ts) files, as well as their generated .js and .js.map files. All of these files need to ...
Tim Coulter's user avatar
  • 8,997
0 votes
0 answers
156 views

I have created a phonegap windows phone project, did the install and setup. It runs fine with the demo/default code when I run the emulator. I have an existing android project. I drag my www folder to ...
Danny's user avatar
  • 1,195
0 votes
2 answers
2k views

Everything happens within the same VS project. I have a resource dictionary file living on it's own. When I try to load it programmatically I get the error "Cannot create unknown type '{clr-...
Mohamed's user avatar
  • 121
0 votes
1 answer
595 views

I have a WinRT application and a .NET application which want to share images. I have been using portable class library and want to share as much code as possible. I also want to have only one copy of ...
Muhammad Rehan Saeed's user avatar
4 votes
1 answer
2k views

The default build action has been changed from "None" to "Content", as I understand to support Visual Studio publish/deploy. For a particular project, I do not use the Visual Studio publish/deploy ...
Leon van der Walt's user avatar
37 votes
8 answers
57k views

I'm trying to build my C# project and I'm getting the error message "A namespace does not directly contain members such as fields or methods". It is flagging the first character (the less than symbol)...
BoltBait's user avatar
  • 11.5k
0 votes
6 answers
3k views

So I wrote some custom classes and put them all in a namespace, call it "Sphere". On my aspx.cs codebehind file, I have "using Sphere;" written. I know that this works because it's always worked ...
user avatar