Activities of "alper"

I mean remove all SourceLink facilities (Microsoft.SourceLink.AzureRepos.Git as well). We're trying to understand if there's an issue about SourceLink or something different .

Hi,

You can create your own CSS file and add it as a global style:

In your MyProjectWebModule.cs

public override void ConfigureServices(ServiceConfigurationContext context) {
  //...

  //ADD MY CUSTOM CSS AS GLOBAL STYLE : app.css
  Configure<AbpBundlingOptions> (options => {
   options
    .StyleBundles
    .Get(StandardBundles.Styles.Global)
    .AddFiles("/Pages/app.css");
  })
  
  //...
}

Also see;

  • https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Guide
  • https://docs.abp.io/en/abp/latest/UI/Angular/Component-Replacement
  • https://support.abp.io/QA/Questions/33#answer-d42ca2e3-fa9e-eeef-bd07-39f3e113d7d1
  • https://support.abp.io/QA/Questions/37
  • https://github.com/abpframework/abp/issues/2409
  • https://github.com/abpframework/abp/issues/2533

The only difference for ABP is, there are commercial packages which are hosted on https://nuget.abp.io. ABP NuGet package source is written in your NuGet.Config file (at the root directory of the solution). Remove the package SourceLink.Create.CommandLine and try again.

Hi,

As stated here https://github.com/dotnet/sourcelink#using-source-link-in-net-projects You need to change the package reference regarding the hosting provider. If you're using Azure DevOps, you can replace the package reference SourceLink.Create.CommandLine to Microsoft.SourceLink.AzureDevOpsServer.Git

<ItemGroup>
  <PackageReference Include="Microsoft.SourceLink.AzureDevOpsServer.Git" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>

See the other providers usage:


github.com and GitHub Enterprise

For projects hosted by GitHub or GitHub Enterprise reference Microsoft.SourceLink.GitHub like so:

<ItemGroup>
  <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>

Azure Repos (former Visual Studio Team Services)

For projects hosted by Azure Repos in git repositories reference Microsoft.SourceLink.AzureRepos.Git:

<ItemGroup>
  <PackageReference Include="Microsoft.SourceLink.AzureRepos.Git" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>

Azure DevOps Server (former Team Foundation Server)

For projects hosted by on-prem Azure DevOps Server in git repositories reference Microsoft.SourceLink.AzureDevOpsServer.Git and add host configuration like so:

<ItemGroup>
  <PackageReference Include="Microsoft.SourceLink.AzureDevOpsServer.Git" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>

If your server is configurated with non-empty IIS Virtual Directory, specify this directory in SourceLinkAzureDevOpsServerGitHost item like so:

<ItemGroup>
  <SourceLinkAzureDevOpsServerGitHost Include="server-name" VirtualDirectory="tfs"/>
</ItemGroup>

The Include attribute specifies the domain and optionally the port of the server (e.g. server-name or server-name:8080).


GitLab

For projects hosted by GitLab reference Microsoft.SourceLink.GitLab package:

<ItemGroup>
  <PackageReference Include="Microsoft.SourceLink.GitLab" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>

Bitbucket

For projects in git repositories hosted on Bitbucket.org or hosted on an on-prem Bitbucket server reference Microsoft.SourceLink.Bitbucket.Git package:

<ItemGroup>
  <PackageReference Include="Microsoft.SourceLink.Bitbucket.Git" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>

If your project is hosted by Bitbucket Server or Bitbucket Data Center older than version 4.7 you must specify SourceLinkBitbucketGitHost item group in addition to the package reference:

<ItemGroup>
  <SourceLinkBitbucketGitHost Include="bitbucket.yourdomain.com" Version="4.5"/>
</ItemGroup>

The item group SourceLinkBitbucketGitHost specifies the domain of the Bitbucket host and the version of Bitbucket. The version is important since URL format for accessing files changes with version 4.7. By default Source Link assumes new format (version 4.7+).

one to many & many to many relationship features will be added in the next releases (no exact time schedule for now)

hi,

This has been fixed in the new version. If you have time, it'll be released on 2020-03-19.

hi, is your problem still active?

duplicate of #48

see https://support.abp.io/QA/Questions/48#answer-ea26e90e-4e76-ccdf-44a4-39f3ea298e33

The package Volo.Abp.Commercial.SuiteTemplate.dll came with the latest version. If you have generated a project before v2.2.1, you need to reference this package to your *.Domain project. Make sure Package Source is set to All in NuGet Manager.

You can alternatively add this line to your *.Domain project csproj file.

&lt;PackageReference Include=&quot;Volo.Abp.Commercial.SuiteTemplate&quot; Version=&quot;2.2.1&quot; /&gt;

This is my csproj file content:

<Project Sdk="Microsoft.NET.Sdk">

  <Import Project="..\..\common.props" />

  <PropertyGroup>
    <TargetFramework>netcoreapp3.1</TargetFramework>
    <RootNamespace>Acme.MyProject</RootNamespace>
  </PropertyGroup>

  <ItemGroup>
    <ProjectReference Include="..\Acme.MyProject.Domain.Shared\Acme.MyProject.Domain.Shared.csproj" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Mvc.DataAnnotations" Version="2.2.0" />
    <PackageReference Include="Volo.Abp.Commercial.SuiteTemplates" Version="2.2.1" />
    <PackageReference Include="Volo.Abp.Identity.Domain" Version="2.2.1" />
    <PackageReference Include="Volo.Abp.PermissionManagement.Domain.Identity" Version="2.2.1" />
    <PackageReference Include="Volo.Abp.IdentityServer.Domain" Version="2.2.1" />
    <PackageReference Include="Volo.Abp.PermissionManagement.Domain.IdentityServer" Version="2.2.1" />
    <PackageReference Include="Volo.Abp.BackgroundJobs.Domain" Version="2.2.1" />
    <PackageReference Include="Volo.Abp.AuditLogging.Domain" Version="2.2.1" />
    <PackageReference Include="Volo.Abp.FeatureManagement.Domain" Version="2.2.1" />
    <PackageReference Include="Volo.Abp.SettingManagement.Domain" Version="2.2.1" />
    <PackageReference Include="Volo.Abp.LanguageManagement.Domain" Version="2.2.1" />
    <PackageReference Include="Volo.Abp.LeptonTheme.Management.Domain" Version="2.2.1" />
    <PackageReference Include="Volo.Saas.Domain" Version="2.2.1" />
  </ItemGroup>
</Project>

Also, you need to update your project to the latest from NuGet. Update all Abp.*** and Volo.*** packages to the latest.

You can update them from NuGet Manager in Visual Studio or alternatively you can use ABP Suite

if the package restore throws error that says cannot restore Volo.Abp.Commercial.SuiteTemplates you might need to login to abp platform via ABP CLI toool.

check that the solution path is still valid. sometimes people move solution directory and then this error is shown up!

Showing 1921 to 1930 of 1942 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11