{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/XRE/issues/1284","labels_url":"https://api.github.com/repos/aspnet/XRE/issues/1284/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/XRE/issues/1284/comments","events_url":"https://api.github.com/repos/aspnet/XRE/issues/1284/events","html_url":"https://github.com/aspnet/XRE/issues/1284","id":59028096,"number":1284,"title":"Setting assembly/package version for ASP.NET 5 Class Library in build","user":{"login":"Daniel15","id":91933,"avatar_url":"https://avatars.githubusercontent.com/u/91933?v=3","gravatar_id":"","url":"https://api.github.com/users/Daniel15","html_url":"https://github.com/Daniel15","followers_url":"https://api.github.com/users/Daniel15/followers","following_url":"https://api.github.com/users/Daniel15/following{/other_user}","gists_url":"https://api.github.com/users/Daniel15/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniel15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniel15/subscriptions","organizations_url":"https://api.github.com/users/Daniel15/orgs","repos_url":"https://api.github.com/users/Daniel15/repos","events_url":"https://api.github.com/users/Daniel15/events{/privacy}","received_events_url":"https://api.github.com/users/Daniel15/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-26T06:42:57Z","updated_at":"2015-02-27T05:59:37Z","closed_at":null,"body":"When building an \"ASP.NET 5 Class Library\", is there a way to specify the version number as a build parameter rather than having to hardcode it in project.json? I have a project with a build server that builds NuGet packages for dev builds, and uses a version number with the date and time (like \"0.1.0-dev-20140403-2203\") for the NuGet package. At the moment I have a shared C# file containing the `AssemblyVersion` attributes that's automatically generated as part of the MSBuild build script, and then I include that as a link in every `csproj`.\r\n\r\nI'd like to do the same for an ASP.NET 5 Class Library that's part of the same project, but can't figure out how to specify the version number as part of the build when doing \"kpm build\" or through Visual Studio. How do I make a CI box build an ASP.NET 5 Class Library and specify a custom version number to use both for the assembly and the NuGet package?\r\n\r\nThanks, and sorry if I'm reporting this against the wrong repository or asking in the wrong place."},"comment":{"url":"https://api.github.com/repos/aspnet/XRE/issues/comments/76343354","html_url":"https://github.com/aspnet/XRE/issues/1284#issuecomment-76343354","issue_url":"https://api.github.com/repos/aspnet/XRE/issues/1284","id":76343354,"user":{"login":"Daniel15","id":91933,"avatar_url":"https://avatars.githubusercontent.com/u/91933?v=3","gravatar_id":"","url":"https://api.github.com/users/Daniel15","html_url":"https://github.com/Daniel15","followers_url":"https://api.github.com/users/Daniel15/followers","following_url":"https://api.github.com/users/Daniel15/following{/other_user}","gists_url":"https://api.github.com/users/Daniel15/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniel15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniel15/subscriptions","organizations_url":"https://api.github.com/users/Daniel15/orgs","repos_url":"https://api.github.com/users/Daniel15/repos","events_url":"https://api.github.com/users/Daniel15/events{/privacy}","received_events_url":"https://api.github.com/users/Daniel15/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T05:59:37Z","updated_at":"2015-02-27T05:59:37Z","body":"Thanks, do you know if the Visual Studio team have plans for this?"}}