I am running Visual Studio 2012. I have a project with some references and I want to be able to copy the entire project onto a CD and take it to a new Machine. I have tried but some of the non-system references that are used don't get copied over... How can I fix that?
Related
PLEASE HELP!!!!
MY SET UP
Visual Studio Ultimate 2012 Update 4 on Windows 7 Professional,
ACTION
Installed latest SQL Server Data Tools Update
SYMPTOM 1 (Cannot create)
When attempting to create new project, I get:
Could not load file or assembly
'Microsoft.Data.Tools.Schema.Utilities.Sql.11, Version=11.1.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. The System cannot find the file specified.
SYMPTOM 2 (Cannot open existing project)
When attempting to open an existing project, I get:
Unsupported
This version of Visual Studio does not have the following project
types installed or does not support them. You can still open these
projects in the version of Visual Studio in which they were originally
created.
Non-functional changes required
Visual Studio will automatically make non-functional changes to the
following projects in order to enable them to open in this version and
Visual Studio 2010 SP1. Project behavior will not be impacted.
WHAT I HAVE TRIED
I have uninstalled/reinstalled VS2012, SSDT, and Update 4.
I've gone through "Programs and Features" Control Panel and have Repaired everything in several different orders.
I have been all over the internet and have tried every single workaround from every article even remotely related to my situation, including deleting temporary files, registry keys, etc.
Nothing seems to work.
Please help me, I'm on day 2 of being dead in the water.
MICROSOFT -- HEADS UP!!!
This appears to have worked !!!!
Zip up the folder C:\Program Files (x86)\Microsoft SQL
Server\110\DAC\bin and set aside (in case this doesn't work for you)
Delete the contents of C:\Program Files (x86)\Microsoft SQL Server\110\DAC\bin
Copy the entire contents of
C:\Program Files(x86)\Microsoft Visual Studio\11.0\Common7\IDE\Extensions\Microsoft\SQLDB\DAC\120
into C:\Program Files (x86)\Microsoft SQL Server\110\DAC\bin
Re-launch VS2012,
AND
I was able to create a new SQL Server Database Project, and
I was able to open one of my existing projects.
VS did crash once when i was looking through my project using the SQL Server Object Explorer, but I have not been able to duplicate it.
How can I change the working director of Visual Studio C++ 2012. The default working directory is $(ProjectDir), every file I create in my codes are created in the project directory. What I want is that every file is created in the source code's directory, is that possible?
There is no convenient way to do it, but there are some workarounds.
One solution is to move project file to source directory.
Another solution is to add whole source directory to project (just drag'n'drop directory from windows explorer to project in solution explorer). Now, you can add items by right-clicking at source directory in solution explorer. They'll go to physical source folder. This surely works on Visual Studio 2013 RC, but I'm not quite sure about Visual Studio 2012.
One more solution, is to create Project Wizard or even Plugin. It's along story. Maybe, someone already done this, but I was unable to find.
I'm having a rather weird problem with Visual Studio 2012 lately:
Project A (C++ DLL) references project B (C++ static lib). No CLR.
Project A is set as my startup project (it has a debug command line set).
After changing a file in project B and hitting CTRL+F5, VS2012 doesn't build project A before launching it. It does build project B!
Research steps I've already taken:
After changing a file in project C, which is not referenced by either A or B, CTRL+F5 builds neither A nor B. This is expected.
After changing a file in project A itself, CTRL+F5 builds A. This is expected.
I've been able to reproduce this problem with project A' and dependency B'.
Configuration Manager: all projects are set to be built in my working configuration.
VS options:
"On Run, when projects are out of date:" = "Always build".
"Only build startup projects and dependencies on Run" is checked. Without it, it just build my entire huge solution when running project A, which is hardly what I want.
I should also note that we recently upgraded from Visual Studio 2010 (with which we did not have this problem).
I'm fresh out of ideas. Anyone?
It appears that this is the same problem described by these questions:
Visual Studio / MSBUILD does not update .lib files when sources are updated
Executable not rebuilt but object files recompiled
Solution: The intermediate folder for any VS project is not allowed to be under %TEMP% or %TMP%, and also may not be named "temp" (or maybe even contain the substring "temp"?).
I am running visual studio 2012 on my windows 8 laptop, and I want to move the visual studio 2012 that holds the templates, projects, settings, etc in My Documents on a folder on my c: drive called Dev. When I copied the folder over to the Dev folder and deleted the original, an error message showed up when I ran vs again, and it created another visual studio 2012 folder in My Documents.
Click Tools>Options then Projects and Solutions change your Projects location path. There is a separate setting for project templates and item templates on the same screen.
I've created a C# project and wanted to publish it. As working in MS Visual studio 2012, I followed the 'How to publish : http://msdn.microsoft.com/en-us/library/31kztyey.aspx '.
So i selected all the right folders on my file share device, and it build well.
But after i installed the project through the setup.exe, i try to run the .appliction but it doenst show me the form i created, while in taskmanager the process with the description 'Vshost32.exe' can't be killed, if i say 'end process' it reappears, but still doenst show me my project.
I ran the project (before publishing) in both debug mode and release mode. I tried to publish via cd-rom instead of file-share, but same problem appeared.
How can i publish my poject now for other company members without MS Visual Studio on our file share device, so they can also run it ? ( i don't think, simply copying the .exe out of the bin\release folder is a clean way to do it)