Questions tagged [msbuild-4.0]
Third version of the MSBuild build tool (after 2.0 and 3.5), released as part of the .Net Framework 4.0. It is used by default by Microsoft Visual Studio 2010.
msbuild-4.0
320
questions
0
votes
0
answers
25
views
Facing issue using Msbuild for building .NET Core project on Windows 2012 server
Our application is developed on .NET 6 framework and when we tried to use this command in a .bat file and ran on the local system, we are able to build solution and everything is working fine.
When we ...
0
votes
0
answers
60
views
VS Code C# extension: "Project has unresolved dependencies" error in WPF project
I'm working on a WPF project in Visual Studio Code, targeting .NET Framework 4.7.2. I'm using csc.exe and msbuild.exe from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\. However, I'm encountering ...
0
votes
0
answers
47
views
Possibilty of removing MVCBuildViews target from a C# ASP .Net project
In my C# ASP.Net project that utilizes the CoreXT build system, there's a specific target defined as follows:
<Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition=&...
0
votes
0
answers
50
views
Azure devops framework 4.6 pipeline build error
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VisualStudio\v16.0\Web\Microsoft.Web.Publishing.targets(2601,5): error : Copying file Rotativa\wkhtmltopdf.exe to obj\...
-1
votes
1
answer
55
views
MSBuild and Packages with Content Files
I have a problem with MSBuild an packages.
I have an application referencing an package which references a package, which has contentFiles in it like:
Main App A -> Assembly B -> Package C with ...
0
votes
0
answers
140
views
Output: Skipping target because all output files are up-to-date with respect to the input files while running msbuild from console app
While running my msbuild instead of building the project , it skips the file and gives an out put as :
Output: Skipping target because all output files are up-to-date with respect to the input files ...
1
vote
0
answers
124
views
How to make C# project generate language resx dlls in a separate sub folder of TargetDir?
We have a C# UI project with bunch of resx files for supported languages. When it is built, the localization support dlls get placed under culture-code\MyTool.resources.dll in the $(TargetDir) of the ...
4
votes
1
answer
561
views
Improving Blazor rebuild speeds
When making changes to my Blazor server project, which is quite massive now, the rebuild takes approximately 30 seconds. In some cases, this is serving as an impediment to productivity. Hot reload is,...
3
votes
0
answers
707
views
how to fix could not load file or assembly Azure.Core'
I get a runtime error : could not load file or assembly Azure.Core'
Azure.Core is not directly added nuget package, but Azure.Identity was added.
I have two warnings :
: There was a conflict between &...
0
votes
0
answers
22
views
In .nuget BeforeTargets ="BeforeBuild" should call only once for the Solution even though it has 40 projects?
I am looking for a way to run my defined Target only once per build process and not for every project that gets build.
I have defined the following in nuget.targets file
<Message Text="...
1
vote
0
answers
262
views
msbuild with p:RunOctoPack missing files
DLLs are missing when I package using MSBuild.
msbuild ./MyProject.vbproj /p:RunOctoPack=true /p:OctoPackEnforceAddingFiles=true
There are no missing files if I use octo pack directly
octo pack --id=&...
2
votes
3
answers
8k
views
Raspberry Pi Pico - setting up for C on Windows, but I can't build my own projects
I'm on Windows 10, and I installed the toolchain by following chapter 8.2 of the getting-started-with-pico.pdf file. I created the test-project by following chapter 7 of the same PDF file.
Contents of ...
0
votes
0
answers
96
views
How to publish MVC 4 website as part of csproj file?
I have website built on MVC4 in visual studio 2019 and for publish profile I usually used right click and select publish site. which is working great but i want it should be part of my csproj. As when ...
2
votes
0
answers
226
views
Msbuild Exec Command should execute based on ASP .Net Core's appsettings.json or launchSetting.json file
We have a project in the ASP .Net Core in that we have implemented the GULP task in the .csproj file with below command it is executed very well. on every build
Command
<Target Name="PreBuild" ...
0
votes
0
answers
931
views
Executing MSTest using MSBuild
I am using MSbuild to build and deploy .NET 4.6.2 project. I have Main.proj file with the following configuration
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas....