build-events Questions
2
Solved
I have a C# solution in Visual Studio 2017. I also have a batch script called foobar.bat that contains the following code:
echo foobar : error 1: This is a test error.
My goal is to get only th...
Misanthrope asked 25/4, 2019 at 16:14
1
I want to publish my web site after building.Is there any way to run dotnet publish command in post build event in asp,net core?
This is my project.json file:
{
"dependencies": {
"Microsoft.NETC...
Fate asked 1/9, 2016 at 5:7
0
I am looking for a way to Reload a project OR all projects inside the Solution, with Target node , which is in pre-build events node of .csproj file
<Project>
...
<Target Name="BeforeBu...
Hafner asked 15/2, 2017 at 17:49
3
Solved
Say for instance I have a Visual Studio project with a configuration called "MyConfig" and I have the compilation symbol MY_CONFIG_SYMBOL defined.
Is there a macro or command to see if MY_CONFIG_S...
Malchus asked 30/8, 2012 at 15:23
1
Solved
I'm writing a batch file to be executed from a pre-build event in Visual Studio.
How can I make it output errors, warnings and messages to the Visual Studio Error List?
It's very hard to search f...
Beware asked 22/4, 2015 at 13:30
1
Solved
is it possible to make a method call from a postbuild event?
namespace Test
{
public class MyClass
{
public void DoSomething()
{
// Do something
}
}
}
Of course this class resides in a p...
Adrenal asked 11/2, 2015 at 12:33
3
Solved
Does anyone know if it's possible to add something to a nuspec file so that when a package is installed via NuGet a pre or post build event to a project?
Goodfellowship asked 8/11, 2012 at 14:23
4
Solved
In Visual Studio, you can do Add -> Existing Item and then Add as Link from the Add drop down button.
This is great. This let's you add a file from another project, and editing the file also edits...
Brusque asked 19/3, 2013 at 16:59
2
Solved
That the logical follow-up for the my previous question: "How to check all projects in solution for some criteria?"
I was given quite a good answer to use CustomAfterMicrosoftCommonTargets, CustomB...
Wigfall asked 20/4, 2011 at 17:48
1
Solved
In Visual Studio 2008 we run a post build event which calls NANT and in turn creates our config files.
e.g.
if $(SolutionDir) == . GOTO end
nant -buildfile:$(SolutionDir)default.build create..we...
Raddled asked 22/4, 2010 at 14:49
1
© 2022 - 2024 — McMap. All rights reserved.