473,837 Members | 1,519 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MsBuild

Hello,

I am working on an ASP.MET MVC Web Application with NET 3.5 in VS
2008.

I need to run some extra tasks on this project build so I download
MSBuild from http://msbuildtasks.tigris.org/.

I installed it but no new project type shows in my VS 2008.

I then found the following template:
http://blogs.conchango.com/stuartpre...3/21/msbuild-p...

I am not sure if this is the right one ...

However, I don't know how to use it:

1. I don't know how to say to my "Build" project that the target
project is my MVC application

2. I am not sure how can I get the original XML file that builds my
MVC application.
I know that to add my extra tasks I should use this file ... I
think.

Anyway, could someone, please, help me out in making this work?

Thank You,
Miguel
Sep 12 '08 #1
7 2426

I have 2 files.

MSBuildit.bat

and

exclude.txt
Here are the contents:
MSBuildit.bat --<<do not include this line in the bat
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\MSBuild.exe" MySolution.sln
/p:Configuration =Release
XCOPY .\PresentationD irectoryHere\bi n\Release\*.*
c:\wutemp\Relea seBuild_MySolut ion /EXCLUDE:.\exclu de.txt /e/s
End MSBuildit.bat --<<do not include this line in the bat
exclude.txt--<<do not include this line in the txt file
..pdb
MSBuildit.bat
exclude.txt
..sln
..vbproj
..csproj
..scc
..vssscc
..config
End exclude.txt--<<do not include this line in the txt file

That's one method. There are others.

Mine copies files to a temp directory, but with the exclude file, I filter
out the junk I don't want.
You might want to delete the .config (in the exclude .txt)

I put both files in the directory where MySolution.sln is.
............... ....

If you are asked about "Is this a file or directory", answer the questions.
Its the XCOPY working.


"shapper" <md*****@gmail. comwrote in message
news:34******** *************** ***********@8g2 000hse.googlegr oups.com...
Hello,

I am working on an ASP.MET MVC Web Application with NET 3.5 in VS
2008.

I need to run some extra tasks on this project build so I download
MSBuild from http://msbuildtasks.tigris.org/.

I installed it but no new project type shows in my VS 2008.

I then found the following template:
http://blogs.conchango.com/stuartpre...3/21/msbuild-p...

I am not sure if this is the right one ...

However, I don't know how to use it:

1. I don't know how to say to my "Build" project that the target
project is my MVC application

2. I am not sure how can I get the original XML file that builds my
MVC application.
I know that to add my extra tasks I should use this file ... I
think.

Anyway, could someone, please, help me out in making this work?

Thank You,
Miguel

Sep 12 '08 #2
On Sep 12, 4:11*pm, "sloan" <sl...@ipass.ne twrote:
I have 2 files.

MSBuildit.bat

and

exclude.txt

Here are the contents:

MSBuildit.bat --<<do not include this line in the bat
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\MSBuild.exe" MySolution.sln
/p:Configuration =Release
XCOPY .\PresentationD irectoryHere\bi n\Release\*.*
c:\wutemp\Relea seBuild_MySolut ion /EXCLUDE:.\exclu de.txt /e/s
End MSBuildit.bat --<<do not include this line in the bat

exclude.txt--<<do not include this line in the txt file
.pdb
MSBuildit.bat
exclude.txt
.sln
.vbproj
.csproj
.scc
.vssscc
.config
End exclude.txt--<<do not include this line in the txt file

That's one method. *There are others.

Mine copies files to a temp directory, but with the exclude file, I filter
out the junk I don't want.
You might want to delete the .config (in the exclude .txt)

I put both files in the directory where MySolution.sln is.

............... ...

If you are asked about "Is this a file or directory", answer the questions.
Its the XCOPY working.

"shapper" <mdmo...@gmail. comwrote in message

news:34******** *************** ***********@8g2 000hse.googlegr oups.com...
Hello,
I am working on an ASP.MET MVC Web Application with NET 3.5 in VS
2008.
I need to run some extra tasks on this project build so I download
MSBuild fromhttp://msbuildtasks.ti gris.org/.
I installed it but no new project type shows in my VS 2008.
I then found the following template:
http://blogs.conchango.com/stuartpre...3/21/msbuild-p...
I am not sure if this is the right one ...
However, I don't know how to use it:
1. I don't know how to say to my "Build" project that the target
project is my MVC application
2. I am not sure how can I get the original XML file that builds my
MVC application.
* *I know that to add my extra tasks I should use this file ... I
think.
Anyway, could someone, please, help me out in making this work?
Thank You,
Miguel
That's to simply or not? I was looking to use MsBuild Tasks (http://
msbuildtasks.ti gris.org/)

I also have 2 custom tasks that I need to apply so I think I need to
create a XML file with all the details of the compilation ...

I downloaded MSBuildTasks and the template that I mentioned but I
still have the mentioned problems.

I can't just exclude some directories ... I need to merge files, run
custom tasks, exclude files and directories, etc

Thanks,
Miguel
Sep 12 '08 #3
I'm not sure.
This seems like a really good tutorial site:
http://brennan.offwhite.net/blog/200...ps-to-msbuild/
"shapper" <md*****@gmail. comwrote in message
news:98******** *************** ***********@34g 2000hsh.googleg roups.com...
On Sep 12, 4:11 pm, "sloan" <sl...@ipass.ne twrote:
I have 2 files.

MSBuildit.bat

and

exclude.txt

Here are the contents:

MSBuildit.bat --<<do not include this line in the bat
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\MSBuild.exe" MySolution.sln
/p:Configuration =Release
XCOPY .\PresentationD irectoryHere\bi n\Release\*.*
c:\wutemp\Relea seBuild_MySolut ion /EXCLUDE:.\exclu de.txt /e/s
End MSBuildit.bat --<<do not include this line in the bat

exclude.txt--<<do not include this line in the txt file
.pdb
MSBuildit.bat
exclude.txt
.sln
.vbproj
.csproj
.scc
.vssscc
.config
End exclude.txt--<<do not include this line in the txt file

That's one method. There are others.

Mine copies files to a temp directory, but with the exclude file, I filter
out the junk I don't want.
You might want to delete the .config (in the exclude .txt)

I put both files in the directory where MySolution.sln is.

............... ...

If you are asked about "Is this a file or directory", answer the
questions.
Its the XCOPY working.

"shapper" <mdmo...@gmail. comwrote in message

news:34******** *************** ***********@8g2 000hse.googlegr oups.com...
Hello,
I am working on an ASP.MET MVC Web Application with NET 3.5 in VS
2008.
I need to run some extra tasks on this project build so I download
MSBuild fromhttp://msbuildtasks.ti gris.org/.
I installed it but no new project type shows in my VS 2008.
I then found the following template:
http://blogs.conchango.com/stuartpre...3/21/msbuild-p...
I am not sure if this is the right one ...
However, I don't know how to use it:
1. I don't know how to say to my "Build" project that the target
project is my MVC application
2. I am not sure how can I get the original XML file that builds my
MVC application.
I know that to add my extra tasks I should use this file ... I
think.
Anyway, could someone, please, help me out in making this work?
Thank You,
Miguel
That's to simply or not? I was looking to use MsBuild Tasks (http://
msbuildtasks.ti gris.org/)

I also have 2 custom tasks that I need to apply so I think I need to
create a XML file with all the details of the compilation ...

I downloaded MSBuildTasks and the template that I mentioned but I
still have the mentioned problems.

I can't just exclude some directories ... I need to merge files, run
custom tasks, exclude files and directories, etc

Thanks,
Miguel
Sep 12 '08 #4
On Sep 12, 7:27*pm, "sloan" <sl...@ipass.ne twrote:
I'm not sure.
This seems like a really good tutorial site:http://brennan.offwhite.net/blog/200...ps-to-msbuild/

"shapper" <mdmo...@gmail. comwrote in message

news:98******** *************** ***********@34g 2000hsh.googleg roups.com...
On Sep 12, 4:11 pm, "sloan" <sl...@ipass.ne twrote:
I have 2 files.
MSBuildit.bat
and
exclude.txt
Here are the contents:
MSBuildit.bat --<<do not include this line in the bat
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\MSBuild.exe" MySolution.sln
/p:Configuration =Release
XCOPY .\PresentationD irectoryHere\bi n\Release\*.*
c:\wutemp\Relea seBuild_MySolut ion /EXCLUDE:.\exclu de.txt /e/s
End MSBuildit.bat --<<do not include this line in the bat
exclude.txt--<<do not include this line in the txt file
.pdb
MSBuildit.bat
exclude.txt
.sln
.vbproj
.csproj
.scc
.vssscc
.config
End exclude.txt--<<do not include this line in the txt file
That's one method. There are others.
Mine copies files to a temp directory, but with the exclude file, I filter
out the junk I don't want.
You might want to delete the .config (in the exclude .txt)
I put both files in the directory where MySolution.sln is.
............... ...
If you are asked about "Is this a file or directory", answer the
questions.
Its the XCOPY working.
"shapper" <mdmo...@gmail. comwrote in message
news:34******** *************** ***********@8g2 000hse.googlegr oups.com...
Hello,
I am working on an ASP.MET MVC Web Application with NET 3.5 in VS
2008.
I need to run some extra tasks on this project build so I download
MSBuild fromhttp://msbuildtasks.ti gris.org/.
I installed it but no new project type shows in my VS 2008.
I then found the following template:
>http://blogs.conchango.com/stuartpre...3/21/msbuild-p....
I am not sure if this is the right one ...
However, I don't know how to use it:
1. I don't know how to say to my "Build" project that the target
project is my MVC application
2. I am not sure how can I get the original XML file that builds my
MVC application.
I know that to add my extra tasks I should use this file ... I
think.
Anyway, could someone, please, help me out in making this work?
Thank You,
Miguel

That's to simply or not? I was looking to use MsBuild Tasks (http://
msbuildtasks.ti gris.org/)

I also have 2 custom tasks that I need to apply so I think I need to
create a XML file with all the details of the compilation ...

I downloaded MSBuildTasks and the template that I mentioned but I
still have the mentioned problems.

I can't just exclude some directories ... I need to merge files, run
custom tasks, exclude files and directories, etc

Thanks,
Miguel
I am trying to use this template ... it seems interesting. You create
a project in your solution where you define all the properties of the
build.

Then you just run it and it runs msbuild ...

Do you know how to reference in the XML file the path of the project
to be compiled?

And, a question a side, does anyone knows how to make the command
prompt in windows xp to not close after being used?!
I am trying to see what is being done but the command prompt window
closes to fast!

Thanks,
Miguel
Sep 12 '08 #5
Go to Start Run
And then type in "cmd". Hit enter. You get a DOS window.
THen navigate and run the .bat manually.

That'll stop the "disappeari ng screen" as you try to debug the bat file.
"shapper" <md*****@gmail. comwrote in message
news:92******** *************** ***********@d77 g2000hsb.google groups.com...
On Sep 12, 7:27 pm, "sloan" <sl...@ipass.ne twrote:
I'm not sure.
This seems like a really good tutorial
site:http://brennan.offwhite.net/blog/200...ps-to-msbuild/

"shapper" <mdmo...@gmail. comwrote in message

news:98******** *************** ***********@34g 2000hsh.googleg roups.com...
On Sep 12, 4:11 pm, "sloan" <sl...@ipass.ne twrote:
I have 2 files.
MSBuildit.bat
and
exclude.txt
Here are the contents:
MSBuildit.bat --<<do not include this line in the bat
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\MSBuild.exe"
MySolution.sln
/p:Configuration =Release
XCOPY .\PresentationD irectoryHere\bi n\Release\*.*
c:\wutemp\Relea seBuild_MySolut ion /EXCLUDE:.\exclu de.txt /e/s
End MSBuildit.bat --<<do not include this line in the bat
exclude.txt--<<do not include this line in the txt file
.pdb
MSBuildit.bat
exclude.txt
.sln
.vbproj
.csproj
.scc
.vssscc
.config
End exclude.txt--<<do not include this line in the txt file
That's one method. There are others.
Mine copies files to a temp directory, but with the exclude file, I
filter
out the junk I don't want.
You might want to delete the .config (in the exclude .txt)
I put both files in the directory where MySolution.sln is.
............... ...
If you are asked about "Is this a file or directory", answer the
questions.
Its the XCOPY working.
"shapper" <mdmo...@gmail. comwrote in message
news:34******** *************** ***********@8g2 000hse.googlegr oups.com...
Hello,
I am working on an ASP.MET MVC Web Application with NET 3.5 in VS
2008.
I need to run some extra tasks on this project build so I download
MSBuild fromhttp://msbuildtasks.ti gris.org/.
I installed it but no new project type shows in my VS 2008.
I then found the following template:
>http://blogs.conchango.com/stuartpre...3/21/msbuild-p...
I am not sure if this is the right one ...
However, I don't know how to use it:
1. I don't know how to say to my "Build" project that the target
project is my MVC application
2. I am not sure how can I get the original XML file that builds my
MVC application.
I know that to add my extra tasks I should use this file ... I
think.
Anyway, could someone, please, help me out in making this work?
Thank You,
Miguel

That's to simply or not? I was looking to use MsBuild Tasks (http://
msbuildtasks.ti gris.org/)

I also have 2 custom tasks that I need to apply so I think I need to
create a XML file with all the details of the compilation ...

I downloaded MSBuildTasks and the template that I mentioned but I
still have the mentioned problems.

I can't just exclude some directories ... I need to merge files, run
custom tasks, exclude files and directories, etc

Thanks,
Miguel
I am trying to use this template ... it seems interesting. You create
a project in your solution where you define all the properties of the
build.

Then you just run it and it runs msbuild ...

Do you know how to reference in the XML file the path of the project
to be compiled?

And, a question a side, does anyone knows how to make the command
prompt in windows xp to not close after being used?!
I am trying to see what is being done but the command prompt window
closes to fast!

Thanks,
Miguel
Sep 12 '08 #6
On Sep 12, 10:26*pm, shapper <mdmo...@gmail. comwrote:
On Sep 12, 7:27*pm, "sloan" <sl...@ipass.ne twrote:
I'm not sure.
This seems like a really good tutorial site:http://brennan.offwhite.net/blog/200...ps-to-msbuild/
"shapper" <mdmo...@gmail. comwrote in message
news:98******** *************** ***********@34g 2000hsh.googleg roups.com...
On Sep 12, 4:11 pm, "sloan" <sl...@ipass.ne twrote:
I have 2 files.
MSBuildit.bat
and
exclude.txt
Here are the contents:
MSBuildit.bat --<<do not include this line in the bat
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\MSBuild.exe" MySolution.sln
/p:Configuration =Release
XCOPY .\PresentationD irectoryHere\bi n\Release\*.*
c:\wutemp\Relea seBuild_MySolut ion /EXCLUDE:.\exclu de.txt /e/s
End MSBuildit.bat --<<do not include this line in the bat
exclude.txt--<<do not include this line in the txt file
.pdb
MSBuildit.bat
exclude.txt
.sln
.vbproj
.csproj
.scc
.vssscc
.config
End exclude.txt--<<do not include this line in the txt file
That's one method. There are others.
Mine copies files to a temp directory, but with the exclude file, I filter
out the junk I don't want.
You might want to delete the .config (in the exclude .txt)
I put both files in the directory where MySolution.sln is.
............... ...
If you are asked about "Is this a file or directory", answer the
questions.
Its the XCOPY working.
"shapper" <mdmo...@gmail. comwrote in message
>news:34******* *************** ************@8g 2000hse.googleg roups.com....
Hello,
I am working on an ASP.MET MVC Web Application with NET 3.5 in VS
2008.
I need to run some extra tasks on this project build so I download
MSBuild fromhttp://msbuildtasks.ti gris.org/.
I installed it but no new project type shows in my VS 2008.
I then found the following template:
http://blogs.conchango.com/stuartpre...3/21/msbuild-p...
I am not sure if this is the right one ...
However, I don't know how to use it:
1. I don't know how to say to my "Build" project that the target
project is my MVC application
2. I am not sure how can I get the original XML file that builds my
MVC application.
I know that to add my extra tasks I should use this file ... I
think.
Anyway, could someone, please, help me out in making this work?
Thank You,
Miguel
That's to simply or not? I was looking to use MsBuild Tasks (http://
msbuildtasks.ti gris.org/)
I also have 2 custom tasks that I need to apply so I think I need to
create a XML file with all the details of the compilation ...
I downloaded MSBuildTasks and the template that I mentioned but I
still have the mentioned problems.
I can't just exclude some directories ... I need to merge files, run
custom tasks, exclude files and directories, etc
Thanks,
Miguel

I am trying to use this template ... it seems interesting. You create
a project in your solution where you define all the properties of the
build.

Then you just run it and it runs msbuild ...

Do you know how to reference in the XML file the path of the project
to be compiled?

And, a question a side, does anyone knows how to make the command
prompt in windows xp to not close after being used?!
I am trying to see what is being done but the command prompt window
closes to fast!

Thanks,
Miguel
Hello,

Does anyone knows how to indicate which project to be build by
MSBuild?

I have the following:

Build
|-----Build.proj
MyProject

Build is a project that when I run it in VS it calls MSBuild using
Build.proj as build information.

Build.proj is as follows:

<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microso ft.com/developer/msbuild/2003"
DefaultTargets= "All">
<Import Project="..\pro perties\build.p roperties" />
<Import Project="$(MSBu ildProjectDirec tory)\propertie s
\build.properti es" />
<PropertyGrou p>
<BuildPath Condition="'$(B uildPath)'==''" >..\Website
\Website.csproj </BuildPath>
<TasksPath Condition="'$(T asksPath)'==''" >$(BuildPath)\B in\Debug</
TasksPath>
</PropertyGroup>
<Target Name="All" DependsOnTarget s="Build" />
<!-- add custom targets below -->
<Target Name="Build">
</Target>
</Project>

In this moment it is builing Build itself. I know that I need to
change something so that Build starts to call MSBuild to build
MyProject but I don't know what.

I tried everything I could think of but until now I wasn't able to
make this work.

Thanks,
Miguel

Sep 12 '08 #7
On Sep 12, 10:50*pm, shapper <mdmo...@gmail. comwrote:
On Sep 12, 10:26*pm, shapper <mdmo...@gmail. comwrote:
On Sep 12, 7:27*pm, "sloan" <sl...@ipass.ne twrote:
I'm not sure.
This seems like a really good tutorial site:http://brennan.offwhite.net/blog/200...ps-to-msbuild/
"shapper" <mdmo...@gmail. comwrote in message
>news:98******* *************** ************@34 g2000hsh.google groups.com....
On Sep 12, 4:11 pm, "sloan" <sl...@ipass.ne twrote:
I have 2 files.
MSBuildit.bat
and
exclude.txt
Here are the contents:
MSBuildit.bat --<<do not include this line in the bat
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\MSBuild.exe" MySolution.sln
/p:Configuration =Release
XCOPY .\PresentationD irectoryHere\bi n\Release\*.*
c:\wutemp\Relea seBuild_MySolut ion /EXCLUDE:.\exclu de.txt /e/s
End MSBuildit.bat --<<do not include this line in the bat
exclude.txt--<<do not include this line in the txt file
.pdb
MSBuildit.bat
exclude.txt
.sln
.vbproj
.csproj
.scc
.vssscc
.config
End exclude.txt--<<do not include this line in the txt file
That's one method. There are others.
Mine copies files to a temp directory, but with the exclude file, Ifilter
out the junk I don't want.
You might want to delete the .config (in the exclude .txt)
I put both files in the directory where MySolution.sln is.
............... ...
If you are asked about "Is this a file or directory", answer the
questions.
Its the XCOPY working.
"shapper" <mdmo...@gmail. comwrote in message
news:34******** *************** ***********@8g2 000hse.googlegr oups.com....
Hello,
I am working on an ASP.MET MVC Web Application with NET 3.5 in VS
2008.
I need to run some extra tasks on this project build so I download
MSBuild fromhttp://msbuildtasks.ti gris.org/.
I installed it but no new project type shows in my VS 2008.
I then found the following template:
>http://blogs.conchango.com/stuartpre...3/21/msbuild-p...
I am not sure if this is the right one ...
However, I don't know how to use it:
1. I don't know how to say to my "Build" project that the target
project is my MVC application
2. I am not sure how can I get the original XML file that builds my
MVC application.
I know that to add my extra tasks I should use this file ... I
think.
Anyway, could someone, please, help me out in making this work?
Thank You,
Miguel
That's to simply or not? I was looking to use MsBuild Tasks (http://
msbuildtasks.ti gris.org/)
I also have 2 custom tasks that I need to apply so I think I need to
create a XML file with all the details of the compilation ...
I downloaded MSBuildTasks and the template that I mentioned but I
still have the mentioned problems.
I can't just exclude some directories ... I need to merge files, run
custom tasks, exclude files and directories, etc
Thanks,
Miguel
I am trying to use this template ... it seems interesting. You create
a project in your solution where you define all the properties of the
build.
Then you just run it and it runs msbuild ...
Do you know how to reference in the XML file the path of the project
to be compiled?
And, a question a side, does anyone knows how to make the command
prompt in windows xp to not close after being used?!
I am trying to see what is being done but the command prompt window
closes to fast!
Thanks,
Miguel

Hello,

Does anyone knows how to indicate which project to be build by
MSBuild?

I have the following:

Build
* *|-----Build.proj
MyProject

Build is a project that when I run it in VS it calls MSBuild using
Build.proj as build information.

Build.proj is as follows:

<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microso ft.com/developer/msbuild/2003"
DefaultTargets= "All">
* <Import Project="..\pro perties\build.p roperties" />
* *<Import Project="$(MSBu ildProjectDirec tory)\propertie s
\build.properti es" />
* <PropertyGrou p>
* * <BuildPath Condition="'$(B uildPath)'==''" >..\Website
\Website.csproj </BuildPath>
* * <TasksPath Condition="'$(T asksPath)'==''" >$(BuildPath)\B in\Debug</
TasksPath>
* </PropertyGroup>
* <Target Name="All" DependsOnTarget s="Build" />
* * * * <!-- add custom targets below -->
* * * * <Target Name="Build">
* * * * </Target>
</Project>

In this moment it is builing Build itself. I know that I need to
change something so that Build starts to call MSBuild to build
MyProject but I don't know what.

I tried everything I could think of but until now I wasn't able to
make this work.

Thanks,
Miguel
Sloan,

I know but what I am trying to do is to change the Build.proj file to
start building my project ...

What would help me is to see the command window when I run Build which
seems impossible or to try to figure how to change the .proj XML file
to start building my project when I run the Build project.

Thanks,
Miguel
Sep 12 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5844
by: Uma Abhyankar | last post by:
Hello, I am using .NET Beta1 Visual Studio. I have to invoke VCBuild through MSBuild on command prompt. I have following issues: Issue1: -------- MSBuild invokes VCBuild internally. However it invokes VCBuild without
1
2085
by: Uma Abhyankar | last post by:
Hello All, I was facing an issue with VCBuild on Beta1. Today after shifting to .NET Beta2, it looks like the issue is still not resolved :-( I have to invoke VCBuild through MSBuild on command prompt. I have following issue: Issue: -------- MSBuild can invoke VCBuild internally. However it invokes VCBuild without
4
1777
by: cisco | last post by:
could not find anything specific to this but does anyone know of msbuild has a new quick start tutorials. The only one i can find seem to be for the preview version of msbuild. Is thiis the only one out there? Appreciate it, Cisco
5
4473
by: Al | last post by:
Hi all We have created a xml file that imports a single project using the Import element. This project compiles to a class library, but has references to two other projects that are also class libraries. We are having a path reference issue for the depending projects; if the build is started in another directory than that of the imported project. (It's a simple cannot find project xyz.csproj, build fails.) If we place the xml file in...
0
1463
by: ME | last post by:
I have a need to generate both the DLL version of my application and an EXE version. I would like to build both of them with a single call "build". One of the ideas I have come up with is to fire off MSBuild in the PostBuildEvent of the project. I think it may work however I am having some command line issues with msbuild. The project I have is setup to build the DLL version of the app by default. In the project's PostBuildEvent I...
0
3590
by: ccallen | last post by:
How to print msbuild <Messageto the VS 2005 output window, from an msbuild file that is loaded into VS? After reading Don Boxs' "MSBuild for MAKEFILE converts" , I copied the snippet, for point 2, into a text file (test.csproj) and loaded the project into Visual Studio. That was cool, I could see the project and the code file (f1.txt) displayed in the Solution Explorer. After building it a few times, I wanted to see the exact order that...
3
2296
by: jrett | last post by:
I've got a source tree with over 100 projects, some depending on others and I'd like to set this up on an automated nightly build, or where devs can do private builds of the entire source tree to verify their code integration into the build before they check in. When I worked at Microsoft, we used CoreXt to do this. Does MSBuild support this sort of build management? Or should I look elsewhere like NAnt. -- Jaan
2
8158
by: Jonathan Kacprowicz | last post by:
I am trying to create a build process using MSBuild that will build my multiple projects all with the same AssemblyVersion and AssemblyFileVersion. I have tried using the AssemblyInfo task from the community tasks projects (http://msbuildtasks.tigris.org/) and the AssemblyInfoTask from the MSBuild blog (http://www.gotdotnet.com/codegallery/codegallery.aspx?id=93d23e13-c653-4815-9e79-16107919f93e). My scenario is this: I have several...
3
6839
by: Danny | last post by:
Hi I trying to master msBuild but have a problem. I have a solution that I wish to build using msbuild but want to override BeforeBuild/AfterBuild targets for each of the projects. I trying to avoid modifying the common.targets etc and the individual project .sln files and just do it within a solution proj. One method I've tried, is to create the .proj file from the .sln file using the msbuildemitsolution enviroment flag- base upon
0
9830
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9682
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10864
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10562
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10263
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7803
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6989
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5664
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4469
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.