{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/Azure-Functions/issues/729","repository_url":"https://api.github.com/repos/Azure/Azure-Functions","labels_url":"https://api.github.com/repos/Azure/Azure-Functions/issues/729/labels{/name}","comments_url":"https://api.github.com/repos/Azure/Azure-Functions/issues/729/comments","events_url":"https://api.github.com/repos/Azure/Azure-Functions/issues/729/events","html_url":"https://github.com/Azure/Azure-Functions/issues/729","id":307204420,"number":729,"title":"Invalid validation Error when Publishing an Azure Function in Visual Studio 2017","user":{"login":"markb57","id":37442606,"avatar_url":"https://avatars2.githubusercontent.com/u/37442606?v=4","gravatar_id":"","url":"https://api.github.com/users/markb57","html_url":"https://github.com/markb57","followers_url":"https://api.github.com/users/markb57/followers","following_url":"https://api.github.com/users/markb57/following{/other_user}","gists_url":"https://api.github.com/users/markb57/gists{/gist_id}","starred_url":"https://api.github.com/users/markb57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markb57/subscriptions","organizations_url":"https://api.github.com/users/markb57/orgs","repos_url":"https://api.github.com/users/markb57/repos","events_url":"https://api.github.com/users/markb57/events{/privacy}","received_events_url":"https://api.github.com/users/markb57/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"pragnagopa","id":1874279,"avatar_url":"https://avatars0.githubusercontent.com/u/1874279?v=4","gravatar_id":"","url":"https://api.github.com/users/pragnagopa","html_url":"https://github.com/pragnagopa","followers_url":"https://api.github.com/users/pragnagopa/followers","following_url":"https://api.github.com/users/pragnagopa/following{/other_user}","gists_url":"https://api.github.com/users/pragnagopa/gists{/gist_id}","starred_url":"https://api.github.com/users/pragnagopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pragnagopa/subscriptions","organizations_url":"https://api.github.com/users/pragnagopa/orgs","repos_url":"https://api.github.com/users/pragnagopa/repos","events_url":"https://api.github.com/users/pragnagopa/events{/privacy}","received_events_url":"https://api.github.com/users/pragnagopa/received_events","type":"User","site_admin":false},"assignees":[{"login":"pragnagopa","id":1874279,"avatar_url":"https://avatars0.githubusercontent.com/u/1874279?v=4","gravatar_id":"","url":"https://api.github.com/users/pragnagopa","html_url":"https://github.com/pragnagopa","followers_url":"https://api.github.com/users/pragnagopa/followers","following_url":"https://api.github.com/users/pragnagopa/following{/other_user}","gists_url":"https://api.github.com/users/pragnagopa/gists{/gist_id}","starred_url":"https://api.github.com/users/pragnagopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pragnagopa/subscriptions","organizations_url":"https://api.github.com/users/pragnagopa/orgs","repos_url":"https://api.github.com/users/pragnagopa/repos","events_url":"https://api.github.com/users/pragnagopa/events{/privacy}","received_events_url":"https://api.github.com/users/pragnagopa/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Azure/Azure-Functions/milestones/3","html_url":"https://github.com/Azure/Azure-Functions/milestone/3","labels_url":"https://api.github.com/repos/Azure/Azure-Functions/milestones/3/labels","id":2700824,"number":3,"title":"Active Questions","description":null,"creator":{"login":"christopheranderson","id":2252976,"avatar_url":"https://avatars2.githubusercontent.com/u/2252976?v=4","gravatar_id":"","url":"https://api.github.com/users/christopheranderson","html_url":"https://github.com/christopheranderson","followers_url":"https://api.github.com/users/christopheranderson/followers","following_url":"https://api.github.com/users/christopheranderson/following{/other_user}","gists_url":"https://api.github.com/users/christopheranderson/gists{/gist_id}","starred_url":"https://api.github.com/users/christopheranderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopheranderson/subscriptions","organizations_url":"https://api.github.com/users/christopheranderson/orgs","repos_url":"https://api.github.com/users/christopheranderson/repos","events_url":"https://api.github.com/users/christopheranderson/events{/privacy}","received_events_url":"https://api.github.com/users/christopheranderson/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":5,"state":"open","created_at":"2017-08-14T18:42:02Z","updated_at":"2018-03-21T17:16:49Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-03-21T11:18:30Z","updated_at":"2018-03-22T08:32:55Z","closed_at":null,"author_association":"NONE","body":"When using the publish feature within Visual Studio it is no longer allowing dashes within the middle of an App Name. \r\nSteps to recreate\r\n1. Right click on the function and click publish\r\n2. Select Create New and click publish\r\n3. A dialog appears allowing you to name the function see screenshot below with invalid validation message. I have added a dash in the middle of the app name but it is still showing it as invalid.\r\n\r\n![image](https://user-images.githubusercontent.com/37442606/37706490-9a27c5ec-2cf7-11e8-9c30-d505fca73466.png)\r\n\r\nEnvironment\r\n---\r\nAzure Microsoft Visual Studio Enterprise 2017 \r\nVersion 15.6.2\r\nVisualStudio.15.Release/15.6.2+27428.2005\r\nMicrosoft .NET Framework\r\nVersion 4.7.02556\r\nInstalled Version: Enterprise\r\nArchitecture Diagrams and Analysis Tools   00369-60000-00001-AA152\r\nMicrosoft Architecture Diagrams and Analysis Tools\r\nMicrosoft Visual Studio Tools for Applications 2017   00369-60000-00001-AA152\r\nMicrosoft Visual Studio Tools for Applications 2017\r\nVisual C++ 2017   00369-60000-00001-AA152\r\nMicrosoft Visual C++ 2017\r\nVisual F# Tools 10.1 for F# 4.1   00369-60000-00001-AA152\r\nMicrosoft Visual F# Tools 10.1 for F# 4.1\r\nASP.NET and Web Tools 2017   15.0.40301.0\r\nASP.NET and Web Tools 2017\r\nASP.NET Core Razor Language Services   1.0\r\nProvides languages services for ASP.NET Core Razor.\r\nASP.NET Web Frameworks and Tools 2012   4.0.21208.0\r\nASP.NET Web Frameworks and Tools 2017   5.2.51214.0\r\nAzure App Service Tools v3.0.0   15.0.40215.0\r\nAzure App Service Tools v3.0.0\r\nAzure Data Lake Node   1.0\r\nAzure Data Lake Tools for Visual Studio   2.2.9000.1\r\nMicrosoft Azure Data Lake Tools for Visual Studio\r\nAzure Functions and Web Jobs Tools   15.0.40215.0\r\nAzure Functions and Web Jobs Tools\r\nAzure Logic Apps Tools for Visual Studio   1.0\r\nAdd-in for the Azure Resource Group project to support the Logic App Designer and template creation.\r\nC# Tools   2.7.0-beta3-62707-11. Commit Hash: 75dfc9b33ed624dff3985c7435c902c3c58c0e5c\r\nC# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.\r\nCommon Azure Tools   1.10\r\nProvides common services for use by Azure Mobile Services and Microsoft Azure Tools.\r\nFabric.DiagnosticEvents   1.0\r\nFabric Diagnostic Events\r\nJavaScript Language Service   2.0\r\nJavaScript Language Service\r\nJavaScript Project System   2.0\r\nJavaScript Project System\r\nJetBrains ReSharper Ultimate 2017.3    Build 111.0.20171218.133305\r\nJetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2018 JetBrains, Inc.\r\nMicrosoft Azure HDInsight Azure Node   2.2.9000.1\r\nHDInsight Node under Azure Node\r\nMicrosoft Azure Hive Query Language Service   2.2.9000.1\r\nLanguage service for Hive query\r\nMicrosoft Azure Service Fabric Tools for Visual Studio   2.0\r\nMicrosoft Azure Service Fabric Tools for Visual Studio\r\nMicrosoft Azure Stream Analytics Language Service   2.2.9000.1\r\nLanguage service for Azure Stream Analytics\r\nMicrosoft Azure Stream Analytics Node   1.0\r\nAzure Stream Analytics Node under Azure Node\r\nMicrosoft Azure Tools   2.9\r\nMicrosoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.51212.2\r\nMicrosoft Continuous Delivery Tools for Visual Studio   0.3\r\nSimplifying the configuration of continuous build integration and continuous build delivery from within the Visual Studio IDE.\r\nMicrosoft JVM Debugger   1.0\r\nProvides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines\r\nMicrosoft MI-Based Debugger   1.0\r\nProvides support for connecting Visual Studio to MI compatible debuggers\r\nMicrosoft Visual C++ Wizards   1.0\r\nMicrosoft Visual C++ Wizards\r\nMicrosoft Visual Studio Tools for Containers   1.1\r\nDevelop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.\r\nMicrosoft Visual Studio VC Package   1.0\r\nMicrosoft Visual Studio VC Package\r\nNode.js Tools   1.4.11027.3\r\nAdds support for developing and debugging Node.js apps in Visual Studio\r\nNuGet Package Manager   4.6.0\r\nNuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.\r\nProject   1.0\r\nInformation about my package\r\nProjectServicesPackage Extension   1.0\r\nProjectServicesPackage Visual Studio Extension Detailed Info\r\nSQL Server Analysis Services   14.0.1016.248\r\nMicrosoft SQL Server Analysis Services Designer \r\nVersion 14.0.1016.248\r\nSQL Server Data Tools   15.1.61801.210\r\nMicrosoft SQL Server Data Tools\r\nSQL Server Integration Services   \r\nMicrosoft SQL Server Integration Services Designer\r\nVersion 14.0.3002.68\r\nSQL Server Reporting Services   14.0.1016.246\r\nMicrosoft SQL Server Reporting Services Designers \r\nVersion 14.0.1016.246\r\nSsmsVsIntegration   1.0\r\nInformation about my package\r\nToolWindowHostedEditor   1.0\r\nHosting json editor into a tool window\r\nTypeScript Tools   15.6.20202.3\r\nTypeScript Tools for Microsoft Visual Studio\r\nViasfora   3.9.163\r\nAdd color to your Visual Studio editor!\r\nVisual Basic Tools   2.7.0-beta3-62707-11. Commit Hash: 75dfc9b33ed624dff3985c7435c902c3c58c0e5c\r\nVisual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.\r\nVisual Studio Code Debug Adapter Host Package   1.0\r\nInterop layer for hosting Visual Studio Code debug adapters in Visual Studio \r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Azure/Azure-Functions/issues/comments/375217354","html_url":"https://github.com/Azure/Azure-Functions/issues/729#issuecomment-375217354","issue_url":"https://api.github.com/repos/Azure/Azure-Functions/issues/729","id":375217354,"user":{"login":"markb57","id":37442606,"avatar_url":"https://avatars2.githubusercontent.com/u/37442606?v=4","gravatar_id":"","url":"https://api.github.com/users/markb57","html_url":"https://github.com/markb57","followers_url":"https://api.github.com/users/markb57/followers","following_url":"https://api.github.com/users/markb57/following{/other_user}","gists_url":"https://api.github.com/users/markb57/gists{/gist_id}","starred_url":"https://api.github.com/users/markb57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markb57/subscriptions","organizations_url":"https://api.github.com/users/markb57/orgs","repos_url":"https://api.github.com/users/markb57/repos","events_url":"https://api.github.com/users/markb57/events{/privacy}","received_events_url":"https://api.github.com/users/markb57/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T08:32:55Z","updated_at":"2018-03-22T08:32:55Z","author_association":"NONE","body":"I am using VS 2017 Version 15.6.2 and this issue came with the latest update"}}
{"actor":{"display_login":"markb57"}}