Is it possible to automaticaly create msbuild.xml from VS project?
You project file is your initial msbuild.xml file that you can customize
Related
I am creating a Custom Visual Studio Project Template. This custom project template consists of two folders which needs to contain some binaries. These binaries has to copied from some server location. As these binaries will be updated periodically i can't simply enclose them while creating the custom project template. I would like to copy them from server location whenever the developer selects this custom project template the two folders inside their Visual Studio might get the latest binaries from the server location. I have to do this with PowerShell script only. Can someone help me on how to execute PowerShell scripts while creating custom project template in Visual Studio.
Why don't you create your own custom nuget packages? Then you only have to "refresh nuget packages" after creating the project from template.
I have some merge module projects created using advanced installer. I need to integrate them with visual studio. I have done same for MSI projects and they work fine. but I don't know how to achieve continuous integration for MSM using Visual Studio.
Advanced Installer extension for Microsoft Visual Studio allows to create Advanced Installer Projects for Visual Studio. Each such project is a container that can include a single .AIP file.
The Visual Studio Solution can include one or more Advanced Installer Project for Visual Studio, in accordance with your needs.
Note that you need to remove the default project that is created when adding a new Installer Project to the .sln and add the existing project, the project that builds the .msm package.
edit
Indeed, you are right. It was a misunderstanding on our end.
On my machine I have several extensions installed side by side. One of these extensions also supports the build of a merge module project type.
We do not officially support this yet. The option to build other project types (e.g. Merge Module Project, Updates Configuration Project) with our VS extension will be available in a future version of Advanced Installer. I will let you know when we will add support for this.
Until then, you can use a build event as a workaround to build the Merge Module Project within the Visual Studio project.
To build the .msm project you can use a command line as described below:
http://www.advancedinstaller.com/user-guide/command-line.html#build-project
The command line can be something as below:
AdvancedInstaller.com" /build "$(SolutionDir)Merge module sample.aip"
I have a dotnet core project that I have created using the project.json and VS Code. So there are no .sln or .xproj files.
How do I open this project in VS Studio 2015?
You can open empty VS instance, then File -> Open -> Project/Solution and open your project.json file. This will generate .sln file, that you can use next time.
There is no way you can open this project directly in VS as ASP.NET Core projects now is able to run without using VS on other platforms. If you have created the solution using Yeoman or dotnet CLI, you have to create a blank new project of ASP.NET Core in VS, and drag all the working files to the solution explorer.
It is recommended that you do it once. If you try again and again, it may fail, as happened with me because IIS configuration can change each time.
Note: If you are cloning the project, using Version Control extensions might be helpful.
In Visual Studio 2013 I need to add an exsisting project to solution. This project has no *.sln file so I can't use "Add->Exsisting Project...".
I want to add Firefox Extension code to the solution. This code has no proper template to use, so I have to do it somehow other way. What do you advice me to do?
A project doesn't need a *.sln file. That is a solution file, and you don't add a solution to a solution. What you need is a project file; a *.XXproj file, where XX is the type of project.
If you don't have a project file either, just create a new project in the solution and copy the files into the project.
Im trying to create empty folder in application folder. I created a folder in Setup project, but when im installing, the folder is not being created. I assume its because its empty. Is there a way to create it still/
Right click on the folder, select properties window, set AlwaysCreate property true. that's it. No need to create set up file with any other s/w. Visual Studio is Microsoft product.
You need to set the AlwaysCreate Property of the folder to true.
My workaround was to create an (empty) textfile in the folder.
It's not nice, but it works.
I am thankful for any hints to find a better solution.
Visual Studio setup project will not allow you to create empty folder. Instead of visual studio you can try to create setup project using WIX.
Its free and more scalable compared to Visual studio setup project.