How to install Microsoft® Surface® 2.0 SDK without installing Visual Studio

I have a kiosk app built on the Microsoft® Surface® 2.0 SDK and WPF.

The deployment device is a kiosk, but Visual Studio is not installed.

When I run the application on a kiosk, I skip several dlls Microsoft.Surface.Core, so I tried installing the Microsoft® Surface® 2.0 SDK, but this requires VS.

Error:

Before installing Microsoft Surface 2.0 sdk, you must install Microsoft Visual Studio 2010 or Microsoft Visual C # 2010.

I would like to know how to work with SDK without VS ... or alternative approach?

+3
source share
4 answers

SDK Visual Studio, . , , , SDK .

enter image description here

"", .

+4

:

  • XNA Game Framework Runtime 4.0 (xnafx40_redist.msi)
  • PS- :
foreach ($base in @('HKLM:\Software\Microsoft\VisualStudio', 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\VisualStudio')) {

cd $base
mkdir 10.0
cd 10.0                                                                                                          
mkdir Setup                                                                                                       
mkdir Setup\VS                                                                                                    
cd Setup\VS                                                                                                       
New-ItemProperty -path . -Name EnvironmentPath -PropertyType String -Value d:\DummyVS10                           
mkdir d:\DummyVS10   
cd "$base\10.0"                                                                                             
mkdir Projects
cd Projects                                                                                                    
mkdir '{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}'                                                                    
cd '{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}'                                                                       
New-ItemProperty -path . -Name DefaultProjectExtension -PropertyType String -Value foo
cd "$base"                                                                                             
mkdir SxS
cd SxS
mkdir VS7
cd VS7
mkdir 10.0
cd "$base\10.0"
New-ItemProperty -path . -Name InstallDir -PropertyType String -Value D:\DummyVS10
}
+2

Surface 2.0 SDK , VS2013.

, ; -)... !

MSI , VS2010, ( " " PowerShell):

cd HKLM:\Software\Microsoft\VisualStudio                                                                          
# 10.0 was already present on my machine, might need to be created 
cd 10.0                                                                                                          
mkdir Setup                                                                                                       
mkdir Setup\VS                                                                                                    
cd Setup\VS                                                                                                       
New-ItemProperty -path . -Name EnvironmentPath -PropertyType String -Value d:\DummyVS10                           
mkdir d:\DummyVS10                                                                                                
mkdir Projects                                                                                                    
mkdir '{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}'                                                                    
cd '{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}'                                                                       
New-ItemProperty -path . -Name DefaultProjectExtension -PropertyType String -Value foo

, , VS2013, Surface SDK!

+1

, MSI SuperOrca, "LaunchCondition". .

0

All Articles