November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Is MDF file included in project, you can verify by opening csproj file in notepad?
if i unload the project then edit the project file, it contains this:
<ItemGroup>
<Content Include="App_Data\EPiServerDB_f3fdc59f.mdf" />
<Content Include="App_Data\EPiServerDB_f3fdc59f_log.ldf">
<DependentUpon>EPiServerDB_f3fdc59f.mdf</DependentUpon>
</Content>
<Content Includ
I dont know where this came from, or why its in the csproj file. Is the mdf created by the build process on each build, or is it created once when you first create the project?
I see the file in my local visual studio. I dont know how to see if the file exists or created in azure pipelines, as you cant access the transient file system it creates (I assume).
If I look in devops at the git repo, the mdf file is not there. I am guessing its in the git.ingore, or somehow vs knows not to check it in. looking in git ignore, I cant see app_data dir, nor mdf as a file extension, do I dont know how git knows to ignore the file.
Any ideas on how this could be resolved? I am guessing everyone has the same issue?
If it's not in the folder,
Simply remove those line from csproj file using notepad again, save and publish ...r in Vs once .. should work.
<Content Include="App_Data\EPiServerDB_f3fdc59f.mdf" />
<Content Include="App_Data\EPiServerDB_f3fdc59f_log.ldf">
<DependentUpon>EPiServerDB_f3fdc59f.mdf</DependentUpon>
</Content>
The mdf is in the folder on my pc, but presumably not on the pipeline server.
Presumably, the mdf was created by running the build on the pc, so why is it not created by the same proj file on the pipelines sever?
Does anyone know what this mdf file is for? Presumably, if I modify something which modifies the schema, I need it to build this file?
Its not in the gitignore, but adding the project into git did not add this file. Anyone know what causes this anomlly? If I do git status there is no mention of this file, even though it exists in my project, but not in git on devops. If I do git pull, there are no changes. If I do git push , there are no changes.
Does everyone have to hack the csproj file to remove the mdf to use CI servers? There is no mention of this in the "developing for DXC" course I have just done up to B4, the excercise which gets you to build the project in devops (and doesnt work).
I have the alloy project pushed to a devops git repo. I can get the project to work in Azure, setup to mimic DXC as per "developing for DXC" course, and deployed using Visual studios publish tool. Now I need to find a way to get it to build automatically using devlops piplines, which just doesnt seem to work.
I created the following azure-pipelines.yml: