Open kamil-mrzyglod opened 5 years ago
Hi Kamil,
That's an odd error. We think the installation of your extension may have gone awry and failed to install one of the file templates.
Could you provide us with the list of files in your Visual Studio Mesh Tools extension directory? That is, run PowerShell commands like so and give us the resulting output file?
PS C:\temp> pushd "C:\program files (x86)\Microsoft Visual Studio"
PS C:\program files (x86)\Microsoft Visual Studio> gci -r Microsoft.VisualStudio.Azure.SFApp.Application.dll
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 12/5/2018 6:49 AM 555264 Microsoft.VisualStudio.Azure.SFApp.Application.dll
PS C:\program files (x86)\Microsoft Visual Studio> pushd "C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b"
PS C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b> gci -r > C:\temp\files.txt
Once you've gathered the above information, please try uninstalling and reinstalling the extension.
I re-installed the extension - still the same happen :(
The gathered information can be found here:
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 06.12.2018 11:52 build
d----- 06.12.2018 11:52 ItemTemplates
d----- 06.12.2018 11:52 NuGet
d----- 06.12.2018 11:52 ProjectTemplates
d----- 06.12.2018 11:52 ServiceTemplates
-a---- 06.12.2018 11:52 1327 catalog.json
-a---- 06.12.2018 11:52 1690 CertificateInformation.dat
-a---- 06.12.2018 11:52 984 CustomImageMonikers.imagemanifest
-a---- 06.12.2018 11:52 2813 extension.vsixmanifest
-a---- 06.12.2018 11:52 2923 extension_icon.png
-a---- 06.12.2018 11:52 127976 KillProcess.exe
-a---- 06.12.2018 11:52 13152 manifest.json
-a---- 06.12.2018 11:52 169208 Microsoft.ApplicationInsights.dll
-a---- 06.12.2018 11:52 56136 Microsoft.ApplicationInsights.PersistenceChannel.dll
-a---- 06.12.2018 11:52 29032 Microsoft.ApplicationInsights.UniversalTelemetryChannel.dll
-a---- 06.12.2018 11:52 555264 Microsoft.VisualStudio.Azure.SFApp.Application.dll
-a---- 06.12.2018 11:52 5004 Microsoft.VisualStudio.Azure.SFApp.Application.pkgdef
-a---- 06.12.2018 11:52 71928 Microsoft.VisualStudio.Azure.SFApp.BuildTasks.dll
-a---- 06.12.2018 11:52 40184 Microsoft.VisualStudio.Azure.SFApp.ProjectWizard.dll
-a---- 06.12.2018 11:52 267824 Microsoft.VisualStudio.Azure.SFApp.Shared.dll
-a---- 06.12.2018 11:52 4990 Microsoft.VisualStudio.Azure.SFApp.Vsix.pkgdef
-a---- 06.12.2018 11:52 173824 Microsoft.VisualStudio.Azure.SFApp.VsShared.dll
-a---- 06.12.2018 11:52 26880 Microsoft.VisualStudio.Azure.SFApp.VsShellShim.dll
-a---- 06.12.2018 11:52 140544 Microsoft.VisualStudio.Containers.Tools.Common.dll
-a---- 06.12.2018 11:52 21760 Microsoft.VisualStudio.Containers.Tools.Common.Package.Contracts.dll
-a---- 06.12.2018 11:52 221232 Microsoft.VisualStudio.Containers.Tools.Common.Package.dll
-a---- 06.12.2018 11:52 55568 Microsoft.VisualStudio.RemoteControl.dll
-a---- 06.12.2018 11:52 36656 Microsoft.VisualStudio.Utilities.Internal.dll
-a---- 06.12.2018 11:52 526336 Newtonsoft.Json.dll
-a---- 06.12.2018 11:52 149712 Service Fabric Mesh Tools (Preview) EULA.rtf
-a---- 06.12.2018 11:52 33256 System.Runtime.InteropServices.RuntimeInformation.dll
-a---- 06.12.2018 11:52 78992 System.ValueTuple.dll
-a---- 06.12.2018 11:52 22031 ThirdPartyNotices.docx
-a---- 06.12.2018 11:52 204288 YamlDotNet.dll
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\build
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 06.12.2018 11:52 864 Microsoft.VisualStudio.Azure.SFApp.Targets.props
-a---- 06.12.2018 11:52 21767 Microsoft.VisualStudio.Azure.SFApp.Targets.targets
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\ItemT
emplates
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 06.12.2018 11:52 CSharp
-a---- 06.12.2018 11:52 2574 templateManifest0.1033.vstman
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\ItemT
emplates\CSharp
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 06.12.2018 11:52 1033
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\ItemT
emplates\CSharp\1033
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 06.12.2018 11:52 SFApp.AspCoreFiles
d----- 06.12.2018 11:52 SFApp.Console
d----- 06.12.2018 11:52 SFApp.ConsoleCoreFiles
d----- 06.12.2018 11:52 SFApp.Web
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\ItemT
emplates\CSharp\1033\SFApp.AspCoreFiles
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 06.12.2018 11:52 842 Dockerfile
-a---- 06.12.2018 11:52 1189 service.yaml
-a---- 06.12.2018 11:52 1180 SFApp.AspCoreFiles.vstemplate
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\ItemT
emplates\CSharp\1033\SFApp.Console
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 06.12.2018 11:52 90 .dockerignore
-a---- 06.12.2018 11:52 127 Dockerfile
-a---- 06.12.2018 11:52 941 service.yaml
-a---- 06.12.2018 11:52 1120 SFApp.Console.vstemplate
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\ItemT
emplates\CSharp\1033\SFApp.ConsoleCoreFiles
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 06.12.2018 11:52 831 Dockerfile
-a---- 06.12.2018 11:52 1086 service.yaml
-a---- 06.12.2018 11:52 1160 SFApp.ConsoleCoreFiles.vstemplate
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\ItemT
emplates\CSharp\1033\SFApp.Web
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 06.12.2018 11:52 90 .dockerignore
-a---- 06.12.2018 11:52 104 Dockerfile
-a---- 06.12.2018 11:52 1044 service.yaml
-a---- 06.12.2018 11:52 1116 SFApp.Web.vstemplate
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\NuGet
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 06.12.2018 11:52 570533 Microsoft.VisualStudio.Azure.SFApp.Targets.1.0.0-preview.7.5.nupkg
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\Proje
ctTemplates
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 06.12.2018 11:52 CSharp
d----- 06.12.2018 11:52 SFApp
-a---- 06.12.2018 11:52 3640 templateManifest1.1033.vstman
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\Proje
ctTemplates\CSharp
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 06.12.2018 11:52 1033
d----- 06.12.2018 11:52 Cloud
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\Proje
ctTemplates\CSharp\1033
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 06.12.2018 11:52 SFApp.AspCoreService
d----- 06.12.2018 11:52 SFApp.ConsoleCoreService
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\Proje
ctTemplates\CSharp\1033\SFApp.AspCoreService
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 06.12.2018 11:52 1146 SFApp.AspCoreService.vstemplate
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\Proje
ctTemplates\CSharp\1033\SFApp.ConsoleCoreService
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 06.12.2018 11:52 1177 SFApp.ConsoleCoreService.vstemplate
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\Proje
ctTemplates\CSharp\Cloud
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 06.12.2018 11:52 1033
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\Proje
ctTemplates\CSharp\Cloud\1033
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 06.12.2018 11:52 SolutionTemplate.ServiceSelector
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\Proje
ctTemplates\CSharp\Cloud\1033\SolutionTemplate.ServiceSelector
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 06.12.2018 11:52 67 .dockerignore
-a---- 06.12.2018 11:52 42117 SolutionTemplate.ServiceSelector.ico
-a---- 06.12.2018 11:52 1327 SolutionTemplate.ServiceSelector.vstemplate
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\Proje
ctTemplates\SFApp
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 06.12.2018 11:52 1033
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\Proje
ctTemplates\SFApp\1033
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 06.12.2018 11:52 SFApp.Application
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\Proje
ctTemplates\SFApp\1033\SFApp.Application
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 06.12.2018 11:52 App Resources
d----- 06.12.2018 11:52 Environments
-a---- 06.12.2018 11:52 2347 SFApp.Application.vstemplate
-a---- 06.12.2018 11:52 502 SFApp.sfaproj
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\Proje
ctTemplates\SFApp\1033\SFApp.Application\App Resources
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 06.12.2018 11:52 169 app.yaml
-a---- 06.12.2018 11:52 571 gateway.yaml
-a---- 06.12.2018 11:52 238 network.yaml
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\Proje
ctTemplates\SFApp\1033\SFApp.Application\Environments
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 06.12.2018 11:52 Cloud
d----- 06.12.2018 11:52 Local
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\Proje
ctTemplates\SFApp\1033\SFApp.Application\Environments\Cloud
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 06.12.2018 11:52 152 parameters.yaml
-a---- 06.12.2018 11:52 98 profile.yaml
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\Proje
ctTemplates\SFApp\1033\SFApp.Application\Environments\Local
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 06.12.2018 11:52 154 parameters.yaml
-a---- 06.12.2018 11:52 98 profile.yaml
Directory: C:\program files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\bavpo3b4.o4b\Servi
ceTemplates
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 06.12.2018 11:52 1205 AspCoreService.ServiceTemplate.xml
-a---- 06.12.2018 11:52 80033 AspCoreServiceIcon.ico
-a---- 06.12.2018 11:52 1273 ConsoleCoreService.ServiceTemplate.xml
-a---- 06.12.2018 11:52 4286 ConsoleCoreServiceIcon.ico
Thanks, Kamil. It looks like all of the right files are present on disk. I have a couple of additional questions:
Edited to add: Setting aside Service Fabric Mesh for a moment, are you able to create a regular ASP.NET Core web application (not the .NET Framework variant)?
Currently, I have VS 2017 15.9.3 running under Windows 10 Enterprise (10.0.14393 Build 14393). The locale is set to 'Poland' while the operating system language is English. English is also set for VS.
I am also able to develop .NET Core applications(including Azure Functions V2 and other frameworks, including Service Fabric services).
Happy to provide any more information if needed.
Just to confirm my understanding, the steps to reproduce this behavior for you are: 1) Open VS 2) Open File > New Project... 3) Select Cloud > Service Fabric Mesh Application, enter a name for the application, Click OK 4) In the New Service Fabric Service dialog, select ASP.NET Core, enter a Service Name, click OK 5) Observe error "The system cannot find the file specified"
Is that correct?
Yeah, that's right. Whether I create a new project or try to add ASP.NET Core application to an existing Mesh application, the result is the same.
Do any files get created on disk for the asp.net core project?
No, only the directory is created(so let's say I wanted to create a project called Web1 - a directory with a name Web1 is created, but it's empty).
Hi,
Today I set up a free Service Fabric Mesh environment on my computer, and while I'm able to create a new Console service, when I try to add a new ASP.NET Core service to my fresh application, I'm getting the following error:
I'm able to run the local cluster and Mesh application normally. Am I missing something regarding the required components?
Regards, Kamil