{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TailwindTraders-Backend/issues/3","repository_url":"https://api.github.com/repos/Microsoft/TailwindTraders-Backend","labels_url":"https://api.github.com/repos/Microsoft/TailwindTraders-Backend/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TailwindTraders-Backend/issues/3/comments","events_url":"https://api.github.com/repos/Microsoft/TailwindTraders-Backend/issues/3/events","html_url":"https://github.com/Microsoft/TailwindTraders-Backend/issues/3","id":389224582,"node_id":"MDU6SXNzdWUzODkyMjQ1ODI=","number":3,"title":"Looks the project can't be compiled from Visual Studio ","user":{"login":"vRITHNER","id":238842,"node_id":"MDQ6VXNlcjIzODg0Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/238842?v=4","gravatar_id":"","url":"https://api.github.com/users/vRITHNER","html_url":"https://github.com/vRITHNER","followers_url":"https://api.github.com/users/vRITHNER/followers","following_url":"https://api.github.com/users/vRITHNER/following{/other_user}","gists_url":"https://api.github.com/users/vRITHNER/gists{/gist_id}","starred_url":"https://api.github.com/users/vRITHNER/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vRITHNER/subscriptions","organizations_url":"https://api.github.com/users/vRITHNER/orgs","repos_url":"https://api.github.com/users/vRITHNER/repos","events_url":"https://api.github.com/users/vRITHNER/events{/privacy}","received_events_url":"https://api.github.com/users/vRITHNER/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-10T10:03:45Z","updated_at":"2018-12-14T12:43:44Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nWhen I try to compile from VS 2019 preview, I get an error: \r\n\r\n> Error\t\t**Value cannot be null**.\r\n> Parameter name: stream\tdocker-compose\tC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\MSBuild\\Sdks\\Microsoft.Docker.Sdk\\build\\Microsoft.VisualStudio.Docker.Compose.targets\t291\t\r\n\r\nLooks like it happened exactly like the following error from SmartHotel360 still opened:\r\n[(https://github.com/Microsoft/SmartHotel360/issues/1](https://github.com/Microsoft/SmartHotel360/issues/1)\r\n\r\nif I try to build using CLI` dotnet build Tailwind.Traders.Backend.sln`\r\nI get the following error:\r\n\r\n> C:\\Program Files\\dotnet\\sdk\\2.2.100\\Microsoft\\Microsoft.NET.Build.Extensions\\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): error NETSDK1052: Framework list file path 'v4.0.30319\\RedistList\\FrameworkList.xml' is not rooted. Only full paths are supported. [D:\\!Training\\TailwindTraders\\TailwindTraders-Backend\\Source\\Services\\Tailwind.Traders.Coupon.Api\\Tailwind.Traders.Coupon.Api.njsproj]\r\n\r\ndocker-compose build issues:\r\n\r\nthe docker file contains the following statement:\r\n[RUN apt-get update \\\r\n    && apt-get install -y --allow-unauthenticated \\\r\n        libc6-dev \\\r\n        libgdiplus \\\r\n        libx11-dev \\\r\n    && rm -rf /var/lib/apt/lists/*](url)\r\n\r\nwhich breaks on windows; looking in forums and found I should modify the command :\r\n\r\n[RUN apt-get update \\\r\n    -and apt-get install -y --allow-unauthenticated \\\r\n        libc6-dev \\\r\n        libgdiplus \\\r\n        libx11-dev \\\r\n    -and rm -rf /var/lib/apt/lists/*](url)\r\n\r\nNow, I get the following error:\r\n\r\n> apt-get : The term 'apt-get' is not recognized as the name of a cmdlet,\r\n> function, script file, or operable program. Check the spelling of the name, or\r\n> if a path was included, verify that the path is correct and try again.\r\n> At line:1 char:76\r\n> + ... e = 'Stop'; $ProgressPreference = 'SilentlyContinue'; apt-get update  ...\r\n> +                                                           ~~~~~~~\r\n>     + CategoryInfo          : ObjectNotFound: (apt-get:String) [], ParentConta\r\n>    insErrorRecordException\r\n>     + FullyQualifiedErrorId : CommandNotFoundException\r\n\r\nIf I command this statement, the next step report the following error:\r\n\r\n> Successfully built 91e1c97860e9\r\n> Successfully tagged tailwindtraders/mobileapigw:latest\r\n> Building stock.api\r\n> Step 1/16 : FROM openjdk:8-jre AS base\r\n>  ---> dd20fb277e3c\r\n> Step 2/16 : WORKDIR /app\r\n>  ---> Using cache\r\n>  ---> ba30ea0e0279\r\n> \r\n> Step 3/16 : FROM openjdk:8-jdk AS maven\r\n>  ---> c14ba9d23b3a\r\n> Step 4/16 : WORKDIR /src\r\n>  ---> Using cache\r\n>  ---> 566d132012f2\r\n> Step 5/16 : COPY . .\r\n>  ---> Using cache\r\n>  ---> 960a75e16576\r\n> Step 6/16 : RUN chmod +x ./mvnw\r\n>  ---> Using cache\r\n>  ---> 076febd195d1\r\n> Step 7/16 : RUN ./mvnw install\r\n>  ---> Running in ad4456225d23\r\n> /bin/sh: 1: ./mvnw: not found\r\n> ERROR: Service 'stock.api' failed to build: The command '/bin/sh -c ./mvnw install' returned a non-zero code: 127\r\n> \r\n\r\ntxs\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/TailwindTraders-Backend/issues/comments/447314344","html_url":"https://github.com/Microsoft/TailwindTraders-Backend/issues/3#issuecomment-447314344","issue_url":"https://api.github.com/repos/Microsoft/TailwindTraders-Backend/issues/3","id":447314344,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzMxNDM0NA==","user":{"login":"eiximenis","id":5191049,"node_id":"MDQ6VXNlcjUxOTEwNDk=","avatar_url":"https://avatars1.githubusercontent.com/u/5191049?v=4","gravatar_id":"","url":"https://api.github.com/users/eiximenis","html_url":"https://github.com/eiximenis","followers_url":"https://api.github.com/users/eiximenis/followers","following_url":"https://api.github.com/users/eiximenis/following{/other_user}","gists_url":"https://api.github.com/users/eiximenis/gists{/gist_id}","starred_url":"https://api.github.com/users/eiximenis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eiximenis/subscriptions","organizations_url":"https://api.github.com/users/eiximenis/orgs","repos_url":"https://api.github.com/users/eiximenis/repos","events_url":"https://api.github.com/users/eiximenis/events{/privacy}","received_events_url":"https://api.github.com/users/eiximenis/received_events","type":"User","site_admin":false},"created_at":"2018-12-14T12:43:44Z","updated_at":"2018-12-14T12:43:44Z","author_association":"MEMBER","body":"Hi again!\r\nI removed the nsproj from the solution and it worked both with Visual Studio 2019 and with dotnet CLI.\r\n\r\n**Note**: I updated the csproj because the emulator of cosmosdb do not exists on Linux, and current Dockerfiles only work on Linux containers."}}
{"actor":{"display_login":"eiximenis"}}