OpenSceneGraph integration with Visual Studio 2013 - visual-studio

I download OSG stable 3.0.1 x64-64bit files from this page. There are 3 folder on my pc about OSG. They are bin, OpenSceneGraph-3.0.1-VS9.0.30729-x64-debug-12741, OpenSceneGraph-3.0.1-VS9.0.30729-x64-release-12741.
I don't understand how I integrate vs2013. There is a file named osgPlugins-3.0.1in bin folder. Can I add OSG as a plugin? I don't change enviroment variables/settings yet.

Those files aren't built for VS2013, they are only build for Visual Studio up to 2010.

Related

Installed file differences : Setup Project of Visual studio vs Installshield

My solution(.net frame work 4.6) composed of one main project with 3 reference projects(class library). If I run setup file created by Installshied which finally install main.exe with 3 dlls and sytem.value.tuple. However, setup file created by visual studio setup project, it install lots of dlls in application folder. I set .net 4.6 launch condition both software.
Visual studio looks installed all the .net assemblies I used. What's wrong with visual studio or what I missing?
Update:
I gave up.... But adding main.exe file instead of primary output of project. That's my current solution

Visual Studio 2015 Community Xamarin Cross-Platform templates missing

I installed Visual Studio 2015 Community Update 3 with Xamarin, updated Xamarin and everything was working fine.
But suddenly, the Xamarin Cross-Platform templates went missing when I tried to create a new project.
I don't have these templates anymore:
I only have these ones:
What I tried:
Change
Repair
Uninstall & reinstall Xamarin
Tried this solution (delete cache.bin files): https://stackoverflow.com/a/40201478/1351076
Configuration:
Visual Studio 2015 Community Update 3
Xamarin 4.2.2.11
Question:
Anyone having this issue or a solution?
Can I download somewhere the official missing templates?
This was working for me:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\
Find the correct subfolder. This can be tricky. I had a Xamarin folder, but that was not the right one. In my case it was folder wa13kl1p.m3s.
However, open your folders and check it there is some Xamarin.Forms.Templates... files in it.
Inside that folder navigate to the T/P/CSharp folder.
Copy the Cross-Platform folder over to C:\Users\\Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C#
Same thing for the ItemTemplates:
But this time navigate to T/I/CSharp folder.
Copy the Cross-Platform folder over to C:\Users\\Documents\Visual Studio 2015\Templates\ItemTemplates\Visual C#
In the current Beta channel, the templates all get merged into a "Wizard Template" instead.
Which will give you all of the same options as the separate templates gave:
However if you run into an issue where templates are not included, please ensure you check your Xamarin extension cache:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Xamarin\Xamarin
Which will have various versions such as 4.2.2.11 that you are currently on. You can then move those .vstemplate files from the .zips to your C:\Users\{username}\Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C# location.
I would highly recommend updating to the Beta channel to ensure this template is at least there before doing this.

Why I get the problems with Visual Studio "2013" SDK samples?

Visual Studio 2013 Premium Update 4; Visual Studio 2013 SDK installed.
I see the code sources are for older Visual Stuido version. It has a link to Visual Studio 2010 (instead of 2013) SDK Samples.zip file. I try compile its some projects but I get an exceptions... For example:
Other projects compiled successfully, but I read their instruction of running:
Running the Sample
To run this sample, copy both the
AlphaBlendToolbar.Addin file and the newly-built AlphaBlendToolbar.dll
file into your Visual Studio Addins directory (My Documents\Visual
Studio 2010\Addins) and then open a new instance of Visual Studio
2010. Next, run the Tools | Add-in Manager menu command. Check the checkbox next to AlphaBlendToolbar and hit OK. You should see a new
toolbar with two command buttons on it. The interesting thing about
this sample is that the command button icons have alpha-transparency.
But VS 2013 has not the Addins directory... Ok, I create it:
I compiled the sample of SDK:
but I don't see here the compiled DLL:
Why I have such problems?
The AddIns folder under the Documents folder is not created by default by VS when installed, so you need to create it by hand, as you have done
Remove the folder C:\Users\developer\Documents\Visual Studio 2013\AddIns from the Options window, it is not required, the %VSMYDOCUMENTS%\AddIns folder takes care.
.AddIn files can contain several values to describe the target VS versions. The AlphaBlendToolbar.AddIn file of the sample only contains the VS 2010 target, you need to edit it and add the VS 2013 ("12.0") target:
<HostApplication>
<Name>Microsoft Visual Studio</Name>
<Version>12.0</Version>
</HostApplication>
Notice that there are two .AddIn files, one in the Documents folder (for deployment) and other in your solution (for source control, etc.), ensure that you update both.
FWIW, there is a VS 2013 SDK Samples: http://blogs.msdn.com/b/vsx/archive/2014/05/30/vs-2013-sdk-samples-released.aspx

SharePoint Deployment from Visual Studio 2010 Location

So I have a web application in visual studio. I can right click on the project and click Deploy which will send the files live to the SharePoint server.
I accidentally reverted one of the pages to an older version in Visual Studio and was wondering if it's possible to get the version running live on the SharePoint server as that is the latest version.
I cannot currently deploy as this will then run and old version of the page I accidental reverted.
Where would the files be stored and how could I find them? visual Studio is running on the SharePoint server.
Thank you very much!
Visual Studio does compile your *.aspx.cs files to the *.dll file of your Solution/Project.
If you want to get the code of your old *.aspx.cs file you can use Reflector or ILSpy to decompile your *.dll (actually deployed to your SharePoint) and find the old code by namespace.

Building a vs2008 solution under vs2010

I'm working on a solution that was developed under vs2008 but was opened and converted to vs2010. I was only given the vs2010 solution so I have to work under vs2010.
Is their a way to build this solution under vs2010 without using any of the vs2010 libs (Microsoft Visual Studio 10.0\VC\libs) and use only those used by vs2008
In Linker > General> Additionnal Library Directories, I've already added a link to the vs2008 libs folder.
You can change the "General > Platform Toolset" property in the Visual Studio 2010 project properties to specify which version MSBuild should use to build your project. The default value is v100, but setting it to v90 would use Visual Studio 2008. This modifies your PATH, BIN, and LIB directories before compiling/linking, so you don't have to change any directory settings manually.
I think, by default only v100, v90, and Windows7.1SDK are supported, but there are tools available to target older Visual Studio versions as well.
See e.g. http://blog.iangoodsell.com/2010/04/visual-studio-2010-and-platform-toolset.html.

Resources