Skip to content

Instantly share code, notes, and snippets.

Application: devenv.exe
Framework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.CodeAnalysis.FindSymbols.DependentProjectsFinder.<>c__DisplayClass13_0.<CreateInternalsVisibleToMap>b__0()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at System.Lazy`1.get_Value()
at Microsoft.CodeAnalysis.FindSymbols.DependentProjectsFinder.<AddNonSubmissionDependentProjectsAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
"dependencies": {
"NugetDependencyThatWorksForAllFwks","9.1.1"
},
"frameworks": {
"dnx451": {},
"dnxcore50": {}
}
CREATE TABLE setting (
id integer NOT NULL,
name character varying(50) NOT NULL,
value character varying(150) NOT NULL,
defaultvalue character varying(150) NOT NULL,
description character varying(200) NOT NULL,
visible boolean NOT NULL
);
at Roslyn.Utilities.FileUtilities.RequireAbsolutePath (System.String path, System.String argumentName) [0x00000] in <filename unknown>:0
at Roslyn.Compilers.PortableExecutableReference..ctor (MetadataReferenceProperties properties, System.String fullPath, Roslyn.Compilers.Metadata initialMetadata) [0x00000] in <filename unknown>:0
at Roslyn.Compilers.MetadataFileReference..ctor (System.String fullPath, MetadataReferenceProperties properties, Roslyn.Compilers.DocumentationProvider documentation) [0x00000] in <filename unknown>:0
at Roslyn.Compilers.MetadataFileProvider.GetReference (System.String fullPath, MetadataReferenceProperties properties) [0x00000] in <filename unknown>:0
at Roslyn.Scripting.CommonScriptEngine..ctor (Roslyn.Compilers.MetadataFileProvider metadataFileProvider, IAssemblyLoader assemblyLoader) [0x00000] in <filename unknown>:0
at Roslyn.Scripting.CSharp.ScriptEngine..ctor (Roslyn.Compilers.MetadataFileProvider metadataFileProvider, IAssemblyLoader assemblyLoader) [0x00000]
@jchannon
jchannon / Test.cs
Last active November 24, 2015 17:34
public class SomeFixture : IDisposable
{
private DockerClient client;
public SomeFixture()
{
Console.WriteLine("SomeFixture ctor: This should only be run once");
//Using https://github.com/ahmetalpbalkan/Docker.DotNet
FROM nginx
ADD nginx.conf /etc/nginx/nginx.conf
RUN mkdir /persist/logs
EXPOSE 80
EXPOSE 443
private dynamic SaveNewThing(dynamic parameters)
{
var model = this.BindAndValidate<MuViewModel>();
if (!ModelValidationResult.IsValid)
{
//Format errors nicely with 422
return Negotiate.WithModel(ModelValidationResult.GetFormattedErrors()).WithStatusCode(HttpStatusCode.UnprocessableEntity);
}
var id = this.myService.Save(model);
ignored packages updated to: ["Vintage", "OmniSharp"]
unloading plugin OmniSharp.OmniSharpSublime
omnisharp plugin_unloaded
reloading Packages/OmniSharp/OmniSharpSublime.sublime-settings
reloading Packages/User/Package Control.sublime-settings
reloading Packages/User/Preferences.sublime-settings
ignored packages updated to: ["Vintage"]
reloading plugin OmniSharp.OmniSharpSublime
omnisharp plugin_loaded
reloading Packages/OmniSharp/OmniSharpSublime.sublime-settings
git checkout master
git checkout -b featurebranch
*** make some new files ***
git add -A
git commit -am "funky stuff"
git push origin featurebranch

Someone updated master that caused a conflict for featurebranch so we can't merge so need to do a rebase

public class Startup
{
private Settings _settings;
public Startup(Settings settings = null)
{
_settings = settings ?? new Settings();
}
public void Configuration(IAppBuilder app)