This question already has answers here:
Is there a way to automatically include content files into asp.net project file?
(9 answers)
Closed 3 years ago.
My visual studio 2017 does not detect when git adds new files to the folder for some reason...
I don't want to manually add the file every time one gets creagted
You might find your answer here:
Is there a way to automatically include content files into asp.net project file?
Or, if you don't want to fiddle with that, the top answer here offers a faster way of manually adding files:
How can I automatically add existing items to a Visual Studio project?
Related
This question already has answers here:
Force TFS to detect changes
(8 answers)
Closed 6 years ago.
Im Working with Visual Studio 2015 with an ASP.NET Web Application, with Umbraco and uSync installed. It's not essential what uSync and Umbraco are, but when I start the project and create a Template in Umbraco, uSync writes "export"-files to a specific folder in the project path.
Now Visual Studio doesn't list the new, changed or deleted files under pending changes, so i can't check-in my changes.
Is there a way to tell Visual Studio to always track created, removed or changed files in specific folders of the project?
Yeah, i could always manually include the files to the project, but this could cause errors when I miss a file or when someone works with this solution and doesn't know he has to include them manually.
There are also other files that I don't need to check in so I need a solution to specify, which folders Visual Studio should track and not something how to track everything going on in the whole project path.
You just need to create a local workspace and not a server Workspace.
Then all files edited outside your solution get detected:
Picture: Pending Changes with detected adds
Then i include the detected adds, so they are under Included Changes. Now i can check-in all the changed files, but at this time they are in source control but not included to the project. So I add the lines like described at this link:
http://www.mattburkedev.com/automatically-include-all-files-in-folder-in-visual-studio/
Then I unload the Project and Reload it. The files are now included.
So next time I add files in Umbraco: just add detected adds in Pending Changes and reload project, everything done.
Well, no. That's the nature of a Web Application project type. But if for instance you used a Website project instead, all files in the main folder would automatically be part of your project.
This question already has answers here:
Why is the Typescript settings tab missing in my VS 2013 ASP.NET project properties?
(7 answers)
Closed 7 years ago.
I've created a MVC project templated web application but there is no TypeScript Build option in project options-properties.
How can i find it?
Thanks.
I've found solution from this post.
Should delete ProjectGuid from project file.
Do you mean you do not have the typescript definitions?
Anyway, you have to follow a series of steps to set up typescript in your solution. I need more information, but do you have TSD installed?
Is a package manager to search and install Typescript definition files directly from the community driven DefinitelyTyped repository.
You have it installing it globally with "npm install tsd -g" and after that you create a tsd.json file inside your solution, typping in your console "tsd init" that creates the typpings folder.
This question already has answers here:
How can I always block checkin of a specific file in TFS
(8 answers)
Closed 9 years ago.
In my solution folder in visual studio 2012 adds folder "packages" sometimes. And this folder strongly want to check in TFS.
Please help me to disable this feature.
Updated after the comment below:
That's a folder for Nuget packages. Folder gets added to the solution whenever you add the first Nuget package to any of your projects in the solution.
2 things you need to do:
1) Right click on the folder in solution explorer and say Exclude from Project.
2) Then go to Source Control Explorer and right click on the packages folder and say delete. The Pending Change column should say "add" like the image below. It will be removed from source control once you do that but will stay in your local directory. Any changes you make after that in nugget packages will be done locally.
This question already has answers here:
HowTo create InstallShield MSI with no files needed locally?
(4 answers)
Closed 7 years ago.
I have created a project in Visual Studio Ultimate 2012 and I have activated Installshield so that I can create a setup-file for my project. The deal is that InstallShield doesn't create one big setup-file, but rather one folder which contains a setup-file I can run to install the project. If I take the setup-file out of the folder, the setup will fail. Do anyone know what I am doing wrong? I feel like the whole purpose of creating a setup-file is to only have one exe-file, not to be forced to go through a folder to find a setup-file.
Added an image of my folder:
Within Visual Studio click Build from the menu bar, then click configuration manager. Within the Configuration Manager dialog, set the Configuration to SingleImage and then rebuild the project.
There are a variety of scenarios that call for different build configurations. A single self extracting EXE is not always desired.
However, if that is what you desire, build the Single Image configuration instead.
Personally, if you don't have a reason to have a Setup.exe ( setup prereqs, multiple instances, minor upgrades and so on ) then I'd just build it as a single MSI.
I have been having this same issue but all the solutions are either based on LE or pre 2013 versions.
So, since the SingleImage is not available in InstallShield Premier 2013 do the following:
In the Release Wizard select Media Type: Web
Web Type: One Executable
This should generate a unique self-contained exe file
This question already has answers here:
Converting VS2012 Solution to VS2010
(7 answers)
Closed 9 years ago.
my company only has VS2010, but I need to work on a project that was created in VS2012, is there a way I can work on the project without buying VS2012?
You can use VS2010 and VS2012 on same project. In my company some developers use one, some another. No problems so far...
You didn't mention what kind of project it is but you may want to try -
VS Express - and it is free