Skip to content

Instantly share code, notes, and snippets.

Working from home

Attila Hajdrik attilah

Working from home
View GitHub Profile
View gist:c64b82fee23473ee7fff
class ModelRoot {
IEnumerable<ImportStatement> ImportStatement { get; set; }
IEnumerable<ModelMember> ModelMembers { get; set; }
attilah / EPR.ps1
Last active Aug 29, 2015
How to enable package restore from a script on a solution from StudioShell console
View EPR.ps1
Add-Type -AssemblyName NugetConsole.Host.PowerShell
# These functions are from Nuget test sources, the key here is to get access to an IVsPackageSourceProvider instance.
function Get-Interface
View gist:6c7188fc93a93d0fb31f
I've Win8.1, VS 2013 with Update 2 RC.
System.ComponentModel.Composition.CompositionException: The composition produced a single composition error, with 2 root causes. The root causes are provided below. Review the CompositionException.Errors property for more detailed information.
1) Could not finishing composing object of type 'Nitra.VisualStudio.NitraGlobalConfig'. The import ' ContractName Microsoft.VisualStudio.Utilities.IContentTypeRegistryService RequiredTypeIdentity Microsoft.VisualStudio.Utilities.IContentTypeRegistryService' was not satisfied. Resulting in: Cannot get export 'Nitra.VisualStudio.NitraGlobalConfig (ContractName="Nitra.VisualStudio.INitraGlobalConfig")' from part 'Nitra.VisualStudio.NitraGlobalConfig'. Element: Nitra.VisualStudio.NitraGlobalConfig (ContractName="Nitra.VisualStudio.INitraGlobalConfig") --> Nitra.VisualStudio.NitraGlobalConfig Resulting in: Cannot set import 'Nitra.VisualStudio.ViewCreationListener.NitraGlobalConfig (ContractName="Nitra.VisualStudio.INitraGlobalConfig"