Is the XAP file from Visual Studio 2010 a valid App? - c#

The .xap that has been generated in Visual Studio 2010(Windows SDK 7.8) seems to have the one mentioned in the wiki (http://msdn.microsoft.com/en-us/library/windows/apps/br211475.aspx) which is for Visual Studio 2012.
If I submit the app will Microsoft process the xap or not ?

If you build that xap file using the Release build and if you correctly fill all info, your app can be submitted to the store.

Related

Installing Xamarin for Visual Studio totally offline

I want to develop Android apps using C# with Xamarin in Visual Studio.
However, they provide an installer which will download required files only. How can I download a full offline (incl. its requirements) installer?
I have the following software already installed:
- Java 8u101
- Java SE Development Kit 8u91
- .NET Framework 4.6 with SDK
- Microsoft Visual Studio 2010 Express (I don't know if Xamarin will work with this - please let me know)
- Android SDK (installed earlier for Android Studio)
If you know where I can download an offline installer for Xamarin.Android, please let me know. I cannot download through the Universal Installer since I have a poor connection.
I apologize if I have posted in the wrong place.
Thank you
Update: i have VS 2015 ENTERPRISE EDITION
If you log in to your Xamarin account page and go to the downloads section [1].
You'll be able to get everything you need for an offline install if you click the "Show all versions" link underneath the large blue button.
Grab the Xamarin.iOS or Xamarin.Android Windows installer (they're the same thing) - that's it!
Seeing as you need Visual Studio 2015 (as you have 2010 and Xamarin is not compatible with 2010 anymore), you can also grab a copy of the VS 2015 Community ISO [2].
[1] https://store.xamarin.com/account/my/subscription/downloads
[2] https://www.microsoft.com/en-us/download/details.aspx?id=48146
If You want to install it by Visual Studio installer:
Try download it manually. View file Catalog.json at installation root. Find string containing "Xamarin.VisualStudio":
{"id":"Xamarin.VisualStudio","version":"4.6.3.4","type":"Vsix","payloads":[{"fileName":"Xamarin.VisualStudio.vsix","sha256":"c082f47bc00da4420cd1e90f167ad4285688b5c5df1d115c5dda1f1ec2aa1ffb","size":492545242,"url":"https://download.visualstudio.microsoft.com/download/pr/11327837/d68d54e233c956ff79799fdf63753c54/Xamarin.VisualStudio.vsix"}],"vsixId":"Xamarin.VisualStudio",
here
4.6.3.4 - version of Xamarin;
https://download.visualstudio.microsoft.com/download/pr/11327837/d68d54e233c956ff79799fdf63753c54/Xamarin.VisualStudio.vsix - try download this file, then check file size and checksum, here sha256.
If all ok, change file name to "Xamarin.VisualStudio.vsix" and put it to folder at root of instalation, and name it using id and version, here :
Xamarin.VisualStudio,version=4.6.3.4
Please check here
http://www.c-sharpcorner.com/article/quick-start-tutorial-manual-or-quick-way-of-xamarin-and-simulator-installation/
No Idea Microsoft Visual studio 2010 express is support Instead of use
Visual Studio Community 2015 its free

Visual Studio 2015 - Store menu disabled/missing for new Blank Universal App C#

I am experiencing a frustrating behaviour of VS2015 Community under Windows 10.
When I create a simple Universal Blank App C# after launching and testing the code the Store menu to create the app packages and launch the certification kit is missing. I checked that my developer account is signed in, enabled developer mode on the machine, reinstalled VS checking to install Universal App development and Windows 10 SDK. Nothing enables this menu. No more options to create apps are present, just Blank App, I had more templates available under VS2013.
It is also weird that when I select to edit appmanifest it never displays the editor, just the XML, it seems like the whole app store environment is disabled. The project is not being recognized as an app.
Another big problem is that the designer does not display the XAML files to see the graphical elements. I get an error screen with tons of errors about null exceptions.
I need to port some 8.1 apps to Win10 Universal and these set of problems are driving me crazy.
Any help more than appreciated.
Possible Fix 1: "Change" the installation to make sure the VS extensions are installed
In certain situations, the Xamarin installer might automatically un-check the install options for the Visual Studio extensions. If that's the cause of the problem in your case, you can install the missing Visual Studio extensions using the installer's "Change" command. For example, if you wanted to install the extensions for Visual Studio 2013:
Open the Windows "Programs and Features" Control Panel.
Right click the "Xamarin" entry, and select "Change".
Click "Next", then "Change".
Make sure the "Xamarin for Visual Studio 2013" option is set to install:
Enable Xamarin for Visual Studio 2013 installation option
Proceed through the rest of the installer wizard.
Possible Fix 2: Ask Visual Studio to set up the extensions again
Check if the Xamarin extensions have been copied into the Visual Studio extensions folder:
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Xamarin\Xamarin\3.1.228.0"
If the extensions are properly installed (for version 3.1.228), there will be 60 items in the folder:
List of 'Xamarin\3.1.228.0' folder contents in Explorer​
After you have confirmed that this folder looks correct, tell Visual Studio to try setting up the extensions again:
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe" /setup
Possible Fix 3: Try a fresh reinstall of Xamarin
From the Windows Control Panel, uninstall any of the following that are present:
Xamarin
Xamarin for Windows
Xamarin.Android
Xamarin.iOS
Xamarin for Visual Studio
In Explorer, delete any remaining files from the Xamarin Visual Studio extension folders (all versions, including both Program Files and Program Files (x86)):
C:\Program Files*\Microsoft Visual Studio 1*.0\Common7\IDE\Extensions\Xamarin
Also check in the "VirtualStore" directory to see if there might be any "overlay" copies of any of the extension directories:
%LOCALAPPDATA%\VirtualStore
Open the registry editor (regedit).
Look for this key:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\SharedDlls
Find and delete any entries that match this pattern:
C:\Program Files*\Microsoft Visual Studio 1*.0\Common7\IDE\Extensions\Xamarin
Look for this key:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\1*.0\ExtensionManager\PendingDeletions
Delete any entries that look like they might be related to Xamarin. For example, here's one that used to cause trouble in older versions of Xamarin:
Mono.VisualStudio.Shell,1.0
Reboot.
Reinstall the current stable version of Xamarin using the individual installer (.msi) download link under Xamarin.iOS -> Windows or Xamarin.Android -> Windows on http://store.xamarin.com/account/my/subscription/downloads.
Possible Fix 4: Repair Visual Studio installation
Open the Windows "Programs and Features" Control Panel.
Right click the relevant Microsoft Visual Studio entry, and select "Change"
Click the "Repair" button in the Visual Studio dialog that opens.
link : https://kb.xamarin.com/customer/portal/articles/1643349-missing-visual-studio-extensions-after-installation

hide application files in setup file in visual studio 2013

I have created a setup file using install shield limited edition for visual studio 2013. and its working. my problem is that, when my customer install the application on his machine he will be able to see the whole source code. as i saw in other application installed in windows there isn't any source code in , just a .exe file and some dll's. how couild i overcome this problem and how application that use only dll files work ?
this is my destination folder :

Getting Monogame content pipeline to work with Visual studio 2013 in windows 8

I've got monogame working in VS 2013 but I can't get the content pipeline to work. When I try to import an existing Content pipeline Project I get the following error.
And I can't create a new project since the templates arent installed in 2013.
Since I am running windows 8 I cannot install XNA (installer stops saying it requires Win 7 or Vista). Reading here: https://github.com/mono/MonoGame/wiki/MonoGame-Content-Processing
It seems XNA is required..?
EDIT
Fex answer gets the templates installed in VS 2013 and I can create a new MonoGame windows Project. But I still cant create or open content projects as they crash with this error
Download this zip - it contains script by Eric Mattison and some other things.
Zip - sendspace link
Extract EricMattisonScript, read and do what Instructions file says.
Extract MonoGame.zip to: My documents folder/Visual studio 2013/Templates/Project templates/Visual C#/
Extract XNA Game.zip Studio to location $Location where your visual studio 2013 is installed$ ( in my case D:/Program files (x86)/Microsoft Visual Studio 2013)/Common7/IDE/Extensions
Launch "devenv.exe /Setup" in command line with administrator priviliages (it is in IDE directory)
Not sure will it work on your pc - in my case it worked.
EDIT:
edited script - try this edited script, be sure you have XNAGS40_setup in same folder and that you run it with administrator priviliages
You can use the content pipeline of SharpDX.
You put your content in the Content folder of the SharpDX solution. Build that solution and then you move the .xnb files generated to the content folder of your MonoGame project.
You could also just use a post buid event to copy the files for you.
You actually can install XNA Game Studio 4.0 Refresh on Windows 8 and 8.1. The issue is that the GFWL it tries to install won't work. So obtain a usable Distributable package, such as from a GFWL game (I believe MS also offers a standalone package), install that, THEN install XNAGS4 Refresh.
CORRECTION: I failed to mention that this does not actually install the necessary project/solution/filetypes into VS2012. See the next section for useful solutions.
ADDITIONAL INFO: At the renamed XNA CodePlex page (http://mxa.codeplex.com), there are downloads for versions of Visual Studio beyond 2010 (10.0). These downloads are ZIP files that include installers for each separate package that XNA4 installs, ending with the VS extension package installer for the relevant version of Visual Studio.
In addition, MonoGame at this point (two years later) no longer requires any XNA elements to load and compile in Visual Studio or Xamarin Studio/MonoDevelop. The tools that MonoGame uses to replace XNA Content Projects can also import them for conversion to MonoGame Content Projects.
If I'm right the Content Pipeline project is at the core a Windows Phone 7 XNA project. Since VS2013 it became unable to create or edit Windows Phone 7 nor XNA projects and thereby unable for you to open the Content Pipeline project.
For so as far as I know to create/compile the Pipeline you'll need VS2012 or VS2010.
VS2010 has XNA bundled within and for VS2012 to work you would need to download the Windows Phone SDK to enable XNA development. (this is also what I use for my Pipeline)

I am getting an output message when opening .net 4.0 solution file in VS 2010

I am using Visual Studio 2010 sp1
When I am opening .NET 4.0 application in VS 2010, I am getting an Output message as
Loading F:\Projects..\Project.csproj ...
F:\Projects..\Project.csproj : error : The project file 'F:\Projects..\Project.csproj' cannot be opened.
The project type is not supported by this installation.
But I am able to open other projects in the application. They are loaded properly.
Provide me a solution for how to open. Thanks.
Its one of these two:
Your Visual Studio Installation is corrupted (not likely).
The Project was created with a verion of Visual studio that supported more project types and your installation supports less. For example if you create a Sharepoint or a Test Manager Project with Visual Studio Ultimate and you try to open it with Visual Studio Proffesional. (most likely).
Another example would be when you create a Web Project using VS Web Express, and after that you try and open it with VS Express for Windows Phone.

Categories