This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Runtime.InteropServices; | |
using System.Security; | |
public static class GuidUtil | |
{ | |
[SuppressUnmanagedCodeSecurity] | |
[DllImport("rpcrt4.dll", SetLastError = true)] | |
private static extern int UuidCreateSequential(out Guid value); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D:\Code\Xamarin\AndroidVS\Setup\MonoTouch\Product.wxs(155,0): error LGHT0103: The system cannot find the file '..\..\Mono.IOS.VisualStudio\lib\MonoTouch.Dialog-1.dll'. | |
D:\Code\Xamarin\AndroidVS\Setup\MonoTouch\Product.wxs(156,0): error LGHT0103: The system cannot find the file '..\..\Mono.IOS.VisualStudio\lib\MonoTouch.Dialog-1.dll.mdb'. | |
D:\Code\Xamarin\AndroidVS\Setup\MonoTouch\Product.wxs(157,0): error LGHT0103: The system cannot find the file '..\..\Mono.IOS.VisualStudio\lib\monotouch.dll'. | |
D:\Code\Xamarin\AndroidVS\Setup\MonoTouch\Product.wxs(158,0): error LGHT0103: The system cannot find the file '..\..\Mono.IOS.VisualStudio\lib\monotouch.dll.mdb'. | |
D:\Code\Xamarin\AndroidVS\Setup\MonoTouch\Product.wxs(159,0): error LGHT0103: The system cannot find the file '..\..\Mono.IOS.VisualStudio\lib\MonoTouch.NUnitLite.dll'. | |
D:\Code\Xamarin\AndroidVS\Setup\MonoTouch\Product.wxs(160,0): error LGHT0103: The system cannot find the file '..\..\Mono.IOS.VisualStudio\lib\MonoTouch.NUnitLite.dll.mdb'. | |
D:\Code\Xamarin\Andr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
After hardcoding a fix to the GenerateResourceDesigner in the targets file with: | |
<GenerateResourceDesigner | |
IsApplication="true" | |
NetResgenOutputFile="$(ResgenTemporaryDirectory)\$(AndroidResgenFilename)" | |
JavaResgenInputFile="$(_GeneratedPrimaryJavaResgenFile)" | |
Namespace="$(AndroidResgenNamespace)" | |
Resources="@(_AndroidResourceDest)" | |
ResourceDirectory="$(MonoAndroidResDirIntermediate)" | |
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//*************************************************************************** | |
// | |
// Copyright (c) Microsoft Corporation. All rights reserved. | |
// This code is licensed under the Visual Studio SDK license terms. | |
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF | |
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY | |
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR | |
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. | |
// | |
//*************************************************************************** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Welcome to StackEdit! {#welcome} | |
===================== | |
Some change here. | |
What if changed again? | |
Hello, I am your first Markdown document within **StackEdit**[^stackedit]. Don't delete me, I can be helpful. I can be recovered anyway in the `Utils` tab of the <i class="icon-cog"></i> `Settings` dialog. | |
---------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace DynamicIntellisense | |
{ | |
public class Class1 | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ProjectReference Include="..\Xamarin.QuickUI\Xamarin.QuickUI.VSTemplate\Xamarin.QuickUI.VSTemplate.csproj"> | |
<Project>{57f94175-2001-4088-accf-f2fbdcb95638}</Project> | |
<Name>Xamarin.QuickUI.VSTemplate</Name> | |
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup%3bPkgdefProjectOutputGroup%3bGetCopyToOutputDirectoryItems%3bSatelliteDllsProjectOutputGroup</IncludeOutputGroupsInVSIX> | |
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup</IncludeOutputGroupsInVSIXLocalOnly> | |
</ProjectReference> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Checks-out the file from source control. | |
/// </summary> | |
public static void CheckOut(string fileName) | |
{ | |
Guard.NotNullOrEmpty(() => fileName, fileName); | |
if (File.Exists(fileName)) | |
{ | |
var vs = ServiceProvider.GlobalProvider.GetService(typeof(EnvDTE.DTE)) as EnvDTE.DTE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<!-- Download to %userprofile%\Documents\Visual Studio [2010|2012|2013|vNext]\Code Snippets\Visual C#\My Code Snippets --> | |
<!-- | |
Template for xunit test methods | |
Press fact[tab][tab] to get it. | |
--> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>XUnit test</Title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace JsonExtensibility | |
{ | |
public class JsonTests | |
{ | |
[Fact] | |
public void when_serializing_itask_then_can_customize_properties () | |
{ | |
var serializer = new JsonSerializer { | |
Formatting = Formatting.Indented, | |
}; |
OlderNewer