Chose alternate certificate on visual studio CTP - visual-studio-2013

I am using the Multi-Device Hybrid Apps extension for Visual Studio 2013. How can I choose the certificate to use when signing.

I found solution soon after I posted.
Windows 8: A custom package.appxmanifest file can be placed in the res/cert/windows8 folder
to override a number of settings. You can grab the generated version in the
bld/Debug/platforms/windows8 folder after building Debug for the
Windows Local, Simulator, or Device target
http://www.visualstudio.com/en-us/explore/cordova-faq-vs.aspx

Related

Sign all needed files in Visual Studio and InstallShield

I'm using Visual Studio 2013 professional and InstallShield 2015 Limited Edition.
I have a SafeNet stick and I know how to sign files from the command line.
My Visual Studio solution contains 4 projects: unmanaged Dll, managed Dll (wrapper around the first one), wpf application and an installshield setup project.
My setup output is singleimage (setup.exe file) that contains everything what I need to run and use my application.
The question: how can I define installshield to sign ALL needed files and a setup.exe itself?
Google is not answering my question :(
Ok, I found the part of the solution.
1) In Release section of the setup project (in solution explorer) click on the SingleImage section.
2) At the right section you'll see three tabs, the last one is Signing tab.
The problem is that you need to provide the pfx file.
Creation this file from the SafeNet usb stick is my problem now :)
UPDATE:
My suggestion is to sign the files in post build events in Visual Studio Project properties.
After that sign the setup file and that's all.
I'll try avoid of using InstallShield builder :(

Unity3d generating an empty .sln file

I'm following the Hololens Developer 100 course from Microsoft. All goes well until I get to building. I follow the instructions exactly here and click build. It asks me to select a folder and I create a folder called "App" (per the instructions) and select that folder. When I finally hit build Unity seems like it's working fine but then two things go wrong:
1) The .sln file that's generated is not in the App folder, but in the parent project folder. The App folder is empty
2) When I open the .sln file, it's empty. The tutorial asks me to edit Package.appxmanifes, but I can't because it doesn't seem to have built.
Is there a configuration somewhere that's not correct? Perhaps Unity and VS aren't talking to eachother correctly? More Importantly, how do I fix it?
I had the same problem, for me it was that I didnt have the Windows 10 SDK installed as part of Visual Studio 2015 with Update 3, in the instructions there is a bit that says:
"If you choose a custom install, ensure that Tools (1.4) and Windows 10 SDK (10.0.10586) is enabled under Universal Windows App Development Tools node. All editions of Visual Studio 2015 Update 3 are supported, including Community."
If your hololens build completes successfully a file explorer window will pop open at the project level. If it fails you should find errors in the console tab of Unity.
The SLN file that is at the project level is a solution file that you can open in visual studio to edit unity code and attach to the unity editor to do real time debugging while running your solution in the editor. In fact if you click on a "CS" file in the project tab of Unity this is the solution that opens in visual studio.
The SLN file you are looking for is in the App folder. Once you open the SLN in visual studio set the configuration to Release and x86, and you should be able to target your build at either a "Remote Device" which is the hololens, or the hololens emulator if you have that installed.

How can I create a Universal Windows Application using TypeScript in Visual Studio 2015?

Visual Studio 2015 does not have a project template for Universal Windows Applications in TypeScript. I would like to know how to get started.
In Visual Studio 2015.1, this works out-of-the-box. In 2015.2 and 2015.3 however, you have to work around a TypeScript installation bug. See second part for a how-to.
With the Universal SDK installed, go to New Project -> JavaScript -> Windows -> Blank App (Universal Windows). Simply change main.js to main.ts and you're set.
If you're running Visual Studio 2015.2 or 2015.3, you need to tweak your TypeScript install first. Shout-out to #minestarks on GitHub:
I assume you're running in an English locale here, otherwise I don't think the workaround is applicable.
Close VS.
In an administrator command prompt:
cd %ProgramFiles(x86)%\msbuild\microsoft\visualstudio\v14.0\typescript
mkdir en
copy *.xaml en
copy TypeScript.Tasks.dll en\TypeScript.Tasks.resources.dll
Now open your UWP project again, the TS files should be visible and building when you build your project.

Compiling iOS projects for Windows Phone with Visual Studio 2015

I attended a Microsoft presentation recently where the speaker said that it would be possible to compile an iOS project for Windows Phone with the upcoming Visual Studio 2015. Great!
So I got the new Visual Studio 2015 RC and installed everything - not to miss anything.
On a Mac an XCode project is a .xcodeproj file but it is actually a folder structure - and that's how Windows sees it. Inside this folder structure there's a file called project.pbxproj but it is not recognized by Visual Studio when I try to open an existing project.
So the question is, how do I open an XCode project in Visual Studio 2015?
It is not included by default as it is not yet finished,
https://dev.windows.com/en-US/uwp-bridges/project-islandwood
To open an Xcode project in Visual Studio is required to use the tool vsimporter.
This tool is present in open source bridge Project from Microsoft GitHub (https://github.com/Microsoft/WinObjC).
***Check the Readme file before to start
Using vsimporter
The vsimporter tool enables you to import your Xcode project into a new Visual Studio Universal Windows Platform (UWP) app project with Objective-C support.
To use the tool:
Download the prebuilt SDK from here and extract the files to a directory (for example c:\winobjc)
From a command prompt, navigate to the directory containing your Xcode project, for example c:\winobjc\samples\WOCCatalog
At the command prompt, run vsimporter.exe
c:\winobjc\samples\WOCCatalog> ..\..\bin\vsimporter.exe
A Visual Studio solution file is created in your current directory, double click this file to open your project in Visual Studio
Press Ctrl-F5 to build your app and run it on your PC.
You can also pass the -i option at the command line to run the vsimporter tool in interactive mode. Interactive mode lets you see and select the specific configurations of the Xcode project that you wish to import. By default vsimporter creates a Visual Studio solution that targets Windows 10. If you'd like to target Windows 8.1 (Phone or Store), use the -format option and specify one of winstore8.1, winphone8.1, or winstore10 (winstore10 is the default).
For help running vsimporter, use the -help option at the command line to see the full set of supported options.
To see the complete tutorial, please visit this link

No IPA file found when building with Visual Studio

I'm developing my project in Visual Studio 2012 using Xamarin Monotouch.
I choose profile Ad-Hoc, specify signing information (provision profile, identity etc) and build my project.
But I see no IPA file generated neither on my PC, nor on Mac. I tried to find it, but it was unsuccessful. It happens even in new HelloWorld project. Where can I find IPA file?
'Show IPA file' toolbar button in Visual Studio is always inactive.
When I do the same thing in Xamarin Studio on Mac it's ok, I get my IPA file.
I have a Distribution configuration setup that I use. On either Mac or Win my IPA is created in the "\bin\iPhone\Distribution" folder. For my configuration, under "iOS IPA Options", I have the option checked for: "Build ad-hoc/enterprise package (IPA)". Are you a registered Enterprise Apple developer? You may need to research if that is required or not. I also assume you have a the Xamarin.iOS Business license too?

Resources